Skip to content

Commit ef07b9c

Browse files
committed
fix(CI): CodeQL in main branch
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent f5a479d commit ef07b9c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/codeql.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "CodeQL"
77

88
on:
99
push:
10-
branches: [ master ]
10+
branches: [ main ]
1111
pull_request:
1212
# The branches below must be a subset of the branches above
13-
branches: [ master ]
13+
branches: [ main ]
1414
schedule:
15-
- cron: '0 17 * * 5'
15+
- cron: '30 1 * * 0'
1616

1717
jobs:
1818
analyze:
@@ -23,6 +23,10 @@ jobs:
2323
# required for all workflows
2424
security-events: write
2525

26+
# only required for workflows in private repositories
27+
actions: read
28+
contents: read
29+
2630
strategy:
2731
fail-fast: false
2832
matrix:

0 commit comments

Comments
 (0)