Skip to content

Commit

Permalink
only send from main
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Jan 3, 2025
1 parent 3e791e3 commit d5a52d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cve_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

notify:
needs: build-and-test
if: ${{ always() && needs.build-and-test.result == 'failure' }}
if: ${{ always() && needs.build-and-test.result == 'failure' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/infra_discord_hook.yml
with:
message: "Attention! CVE checks run failed! Please fix them CVEs :("
Expand Down

0 comments on commit d5a52d3

Please sign in to comment.