Skip to content

Commit d92d9c5

Browse files
cpcloudclaude
andcommitted
fix: skip test-sdist job on doc-only PRs
Match existing test jobs' doc-only guard so docs-only PRs don't run source-build validation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 781238a commit d92d9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ jobs:
291291
- ci-vars
292292
- should-skip
293293
name: Test sdist
294-
if: ${{ github.repository_owner == 'nvidia' && !fromJSON(needs.should-skip.outputs.skip) }}
294+
if: ${{ github.repository_owner == 'nvidia' && !fromJSON(needs.should-skip.outputs.skip) && !fromJSON(needs.should-skip.outputs.doc-only) }}
295295
secrets: inherit
296296
uses: ./.github/workflows/test-sdist.yml
297297
with:

0 commit comments

Comments
 (0)