Skip to content

Commit 94da91b

Browse files
committed
run only on scheduled executions
1 parent ce6cbce commit 94da91b

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: check-cves
77-
if: ${{ always() && needs.build-and-test.result == 'failure' && github.ref == 'refs/heads/main' }}
77+
if: ${{ always() && needs.build-and-test.result == 'failure' && github.event_name == 'schedule' }}
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)