Skip to content

Commit

Permalink
Update trivy.yml
Browse files Browse the repository at this point in the history
Run the action on a schedule to avoid rate-limiting issues caused by running it on every push.
  • Loading branch information
danjov authored Nov 21, 2024
1 parent 014a643 commit 13ed9fb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Trivy

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '44 1 * * 3'
- cron: '44 1 * * *'

permissions:
contents: read
Expand Down

0 comments on commit 13ed9fb

Please sign in to comment.