ci: skip workflows on forks to prevent duplicate check runs#36
Merged
dims merged 1 commit intoNVIDIA:mainfrom Feb 3, 2026
Merged
ci: skip workflows on forks to prevent duplicate check runs#36dims merged 1 commit intoNVIDIA:mainfrom
dims merged 1 commit intoNVIDIA:mainfrom
Conversation
When a fork has Actions enabled, it creates its own check runs that compete with the main repo's check runs. The PR shows the fork's skipped checks instead of the main repo's actual results. Add repository check to only run workflows in NVIDIA/eidos, preventing forks from creating competing check runs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add repository check to only run workflows in
NVIDIA/eidos, preventing forks from creating competing check runs.Motivation / Context
When a fork has Actions enabled, it creates its own check runs (skipped due to branch filters) that compete with the main repo's check runs. GitHub shows the fork's skipped checks on the PR instead of the main repo's actual successful results.
This is why PR checks weren't showing correctly despite workflows running successfully on
pull-request/Nbranches.Fixes: PR checks not showing on fork PRs
Related: #33
Type of Change
Component(s) Affected
.github/workflows/on-push.yamlImplementation Notes
Added
github.repository == 'NVIDIA/eidos'check to each job'sifcondition. This ensures:Testing
make lint # YAML validation passesRisk Assessment
Rollout notes: N/A - CI-only change
Checklist
make testwith-race)make lint)git commit -s) — DCO info