Skip to content

Commit

Permalink
Only send notification on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnr committed Jul 30, 2024
1 parent b381ce3 commit 79ad288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
- name: Send Notification
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@v1
if: always()
if: ${{ failure() || cancelled() }}
with:
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
status: ${{ job.status }}
Expand Down

0 comments on commit 79ad288

Please sign in to comment.