Skip to content

Commit

Permalink
run scan-vulns.yaml on schedule (#1562)
Browse files Browse the repository at this point in the history
Signed-off-by: Susan Shi <[email protected]>
  • Loading branch information
susanshi authored Jun 17, 2024
1 parent 3fc2f79 commit a8691a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/scan-vulns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- "docs/**"
- "library/**"
- "**.md"
schedule:
- cron: '30 8 * * 0' # early morning (08:30 UTC) every Sunday
workflow_dispatch:

permissions: read-all
Expand Down Expand Up @@ -70,4 +72,4 @@ jobs:
run: |
for img in "localbuild:test" "localbuildcrd:test"; do
trivy image --ignore-unfixed --exit-code 1 --severity HIGH --vuln-type="os,library" "${img}"
done
done

0 comments on commit a8691a4

Please sign in to comment.