Skip to content

Commit 30364fc

Browse files
committed
Improve CodeQL workflow
1 parent 50b447f commit 30364fc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ on:
66
pull_request:
77
branches: [master]
88
schedule:
9-
- cron: '0 19 * * 1,3,5'
9+
- cron: '0 3 * * */2'
10+
11+
permissions:
12+
security-events: write
13+
actions: read
14+
contents: read
1015

1116
jobs:
1217
analyse:
@@ -15,7 +20,7 @@ jobs:
1520

1621
steps:
1722
- name: Checkout repository
18-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
1924
with:
2025
fetch-depth: 2
2126

0 commit comments

Comments
 (0)