Skip to content

Commit b7f7f3d

Browse files
committed
feat: show commit message in fast workflow run name
Display the commit message in the GitHub Actions UI run name to help distinguish between multiple builds triggered in quick succession. - Manual runs show: 'Manual Test - <commit_sha>' - Push triggers show: 'Fast Build - <commit message>' This makes it much easier to identify which commit each workflow run corresponds to when viewing the Actions tab. Signed-off-by: Mark Pollack <[email protected]>
1 parent 2c6e448 commit b7f7f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main-push-fast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Main Push - Fast
2-
run-name: ${{ github.event.inputs.commit_sha && format('Fast Test - {0}', github.event.inputs.commit_sha) || 'Main Push - Fast' }}
2+
run-name: ${{ github.event.inputs.commit_sha && format('Manual Test - {0}', github.event.inputs.commit_sha) || format('Fast Build - {0}', github.event.head_commit.message) }}
33

44
on:
55
push:

0 commit comments

Comments
 (0)