diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 4a75d67..13b24cb 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -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 diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 8e15f49..c5df48f 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -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