We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f89bfa commit b918ab0Copy full SHA for b918ab0
.github/workflows/cve_checks.yml
@@ -1,5 +1,9 @@
1
name: "Infra: CVE checks"
2
on:
3
+ pull_request:
4
+ types: [ "opened", "reopened", "synchronize" ]
5
+ push:
6
+ branches: [ "main" ]
7
workflow_dispatch:
8
schedule:
9
# * is a special character in YAML so you have to quote this string
@@ -71,7 +75,7 @@ jobs:
71
75
72
76
notify:
73
77
needs: check-cves
74
- if: ${{ always() && needs.build-and-test.result == 'failure' }}
78
+ if: ${{ always() && needs.build-and-test.result == 'failure' && github.event_name == 'schedule' }}
79
uses: ./.github/workflows/infra_discord_hook.yml
80
with:
81
message: "Attention! CVE checks run failed! Please fix them CVEs :("
0 commit comments