Skip to content

Commit f0f7bf2

Browse files
committed
gha: run codeQL on PRs, and add comment for cron
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 8650ce9 commit f0f7bf2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ concurrency:
66

77
on:
88
schedule:
9+
# ┌───────────── minute (0 - 59)
10+
# │ ┌───────────── hour (0 - 23)
11+
# │ │ ┌───────────── day of the month (1 - 31)
12+
# │ │ │ ┌───────────── month (1 - 12)
13+
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
14+
# │ │ │ │ │
15+
# │ │ │ │ │
16+
# │ │ │ │ │
17+
# * * * * *
918
- cron: '0 12 * * 6'
1019
push:
1120
branches:
@@ -14,6 +23,10 @@ on:
1423
tags:
1524
- 'v*'
1625
pull_request:
26+
# The branches below must be a subset of the branches above
27+
branches:
28+
- 'main'
29+
- 'release/*'
1730

1831
permissions:
1932
contents: read # to fetch code (actions/checkout)

0 commit comments

Comments
 (0)