Skip to content

Fix update-examples-cron workflow failing on forks with Vault auth errors#10

Merged
FuzzysTodd merged 2 commits intomainfrom
copilot/fix-check-suite-errors
Feb 8, 2026
Merged

Fix update-examples-cron workflow failing on forks with Vault auth errors#10
FuzzysTodd merged 2 commits intomainfrom
copilot/fix-check-suite-errors

Conversation

Copy link

Copilot AI commented Jan 14, 2026

The update-examples-cron workflow runs every 8 hours and attempts to authenticate with Grafana's internal Vault infrastructure. On forked repositories, this fails with 401 Unauthorized, causing repeated workflow failures.

Changes

  • Added repository check to update-examples-cron job to skip execution on non-Grafana repositories
  • Aligns with existing pattern used in update-contributors.yml and update-make-docs.yml
jobs:
  update-examples-cron:
    if: github.repository == 'grafana/pyroscope'
    runs-on: ${{ github.repository_owner == 'grafana' && 'ubuntu-x64-small' || 'ubuntu-latest' }}

The workflow will now skip gracefully on forks instead of failing authentication.

Original prompt

Reference: https://github.com/FuzzysTodd/pyroscope/commit/caa23019755452df902366b28dfa6fd431831f3b/checks?check_suite_id=54339096553fix


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: FuzzysTodd <157565446+FuzzysTodd@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix errors in check suite for pyroscope Fix update-examples-cron workflow failing on forks with Vault auth errors Jan 14, 2026
Copilot AI requested a review from FuzzysTodd January 14, 2026 14:40
@FuzzysTodd FuzzysTodd marked this pull request as ready for review February 8, 2026 03:24
@FuzzysTodd FuzzysTodd merged commit 7b36dc6 into main Feb 8, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants