Skip to content

Commit d5a52d3

Browse files
committed
only send from main
1 parent 3e791e3 commit d5a52d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cve_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

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

0 commit comments

Comments
 (0)