Skip to content

Commit 0435eb5

Browse files
mtfishmanclaude
andcommitted
Add descriptive job name for skipped fork-PR private downstream tests
When a URL-based package is skipped on a fork PR, show "(fork PR - use /integrationtest to run)" in the job name. Testing whether name expressions resolve for skipped jobs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9898510 commit 0435eb5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/IntegrationTest.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ on:
3434

3535
jobs:
3636
test:
37-
name: ${{ inputs.pkg }}
37+
name: >-
38+
${{ (inputs.is-fork-pr && (startsWith(inputs.pkg, 'https://') || startsWith(inputs.pkg, 'git@')))
39+
&& format('{0} (fork PR - use /integrationtest to run)', inputs.pkg)
40+
|| inputs.pkg }}
3841
if: >-
3942
(!github.event.pull_request.draft || inputs.run-on-draft) &&
4043
!(inputs.is-fork-pr && (startsWith(inputs.pkg, 'https://') || startsWith(inputs.pkg, 'git@')))

0 commit comments

Comments
 (0)