Skip to content

Commit d85a825

Browse files
committed
only send from main
1 parent 1f94916 commit d85a825

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cve_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Infra: CVE checks"
22
on:
3-
pull_request_target:
3+
pull_request:
44
push:
55
branches: [ "main" ]
66
workflow_dispatch:
@@ -74,7 +74,7 @@ jobs:
7474

7575
notify:
7676
needs: check-cves
77-
if: ${{ always() && needs.build-and-test.result == 'failure' }}
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 :("

frontend/npm

Whitespace-only changes.

0 commit comments

Comments
 (0)