mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
try breaking if bash command in github workflow fails
This commit is contained in:
2
.github/workflows/matrix-commit-message.yml
vendored
2
.github/workflows/matrix-commit-message.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
- run: |
|
||||
ALL_MSGS=""
|
||||
for i in ${{ join(github.event.commits.*.id, ' ') }}; do
|
||||
MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
|
||||
MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i || break)
|
||||
ALL_MSGS="$ALL_MSGS$MSG"$'\n'
|
||||
done
|
||||
echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
|
||||
|
||||
Reference in New Issue
Block a user