Skip to content

Commit

Permalink
CI: Change schedule of cargo-deny and trivvy to daily run
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
liuw1 authored and jyao1 committed Sep 10, 2024
1 parent 7ef3839 commit f1ea01d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: cargo-deny
on: [push, pull_request]
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '0 0 * * *'

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '0 0 * * 1'
- cron: '0 0 * * *'

permissions:
contents: read
Expand Down

0 comments on commit f1ea01d

Please sign in to comment.