Skip to content

Commit b2ec97d

Browse files
committed
Fix run-name to show commit hash instead of invalid split() function
Use github.sha to display the actual commit hash in workflow runs: - Manual runs: "Manual Test - abc1234" - Automatic runs: "Fast Build - def5678" This fixes the workflow validation error and provides useful identification. Signed-off-by: Mark Pollack <[email protected]>
1 parent 4263079 commit b2ec97d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/maintenance-fast.yml

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

44
on:
55
push:

0 commit comments

Comments
 (0)