Skip to content

Commit 9ed2b3d

Browse files
authored
Don't open multiple build failure issues upon workflow cancellation
1 parent 1921d67 commit 9ed2b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scheduled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
title: rubydoc.brew.sh deployment failed!
8383
body: The most recent [rubydoc.brew.sh deployment failed](${{ env.RUN_URL }}).
8484
labels: deploy failure
85-
update-existing: ${{ contains(needs.*.result, 'failure') }}
85+
update-existing: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
8686
close-existing: ${{ needs.deploy.result == 'success' }}
8787
close-from-author: github-actions[bot]
8888
close-comment: The most recent [rubydoc.brew.sh deployment succeeded](${{ env.RUN_URL }}). Closing issue.

0 commit comments

Comments
 (0)