Skip to content

Commit

Permalink
Schedule CodeQL twice a week (#3525)
Browse files Browse the repository at this point in the history
* schedule CodeQL twice a week

* add comment on schedule

* add more comments
  • Loading branch information
gerardsn authored Oct 29, 2024
1 parent 390db78 commit 12e4cb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis-cron-schedule.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# This is an alternative to the codeql-analysis.yml that only contains a scheduled evaluation of CodeQL
# The action runs for all branches defined in jobs.analyze.strategy.matrix.branches.
# Every new production branch (minor release branches) should be added to this list.

name: "Scheduled CodeQL"

# run twice a week at a random time on Sunday and Wednesday evening so its available the next morning
on:
schedule:
- cron: '0,15,30,45 * * * *'
- cron: '42 21 * * 0,3'

jobs:
analyze:
Expand All @@ -18,6 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# CodeQL runs on these branches
branches:
- 'master'
- 'V5.4'
Expand Down

0 comments on commit 12e4cb4

Please sign in to comment.