Skip to content

Commit

Permalink
Infra: Run cve checks workflow on pull requests and pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Jan 14, 2025
1 parent 2b3abd2 commit 1144233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cve_checks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Infra: CVE checks"
on:
pull_request:
push:
branches: [ "main" ]
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
Expand Down Expand Up @@ -71,7 +74,7 @@ jobs:

notify:
needs: check-cves
if: ${{ always() && needs.build-and-test.result == 'failure' }}
if: ${{ always() && needs.build-and-test.result == 'failure' && github.event_name == 'schedule' }}
uses: ./.github/workflows/infra_discord_hook.yml
with:
message: "Attention! CVE checks run failed! Please fix them CVEs :("
Expand Down
Empty file added frontend/npm
Empty file.

0 comments on commit 1144233

Please sign in to comment.