diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index afbe4b3530..8011abf521 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,13 +1,11 @@ name: "CodeQL" on: - push: - branches: [ master ] pull_request: # The branches below must be a subset of the branches above branches: [ master ] schedule: - - cron: '0 0 * * 0' + - cron: '30 5,17 * * *' jobs: analyze: diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index ec27ee18b0..48be510409 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -3,9 +3,7 @@ on: # Only the default branch is supported. branch_protection_rule: schedule: - - cron: '44 6 * * 4' - push: - branches: [ master ] + - cron: '44 6 * * *' # Declare default permissions as read only. permissions: read-all