Skip to content

Commit 79ad288

Browse files
committed
Only send notification on failure
1 parent b381ce3 commit 79ad288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
steps:
3737
- name: Send Notification
3838
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@v1
39-
if: always()
39+
if: ${{ failure() || cancelled() }}
4040
with:
4141
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
4242
status: ${{ job.status }}

0 commit comments

Comments
 (0)