Skip to content

Commit e1d278a

Browse files
committed
Update CodeQL workflow permissions
Added permissions for security events and actions.
1 parent 930060e commit e1d278a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ on:
1818
branches: [ "main" ]
1919
schedule:
2020
- cron: '20 8 * * 3'
21-
permissions: {}
21+
permissions:
22+
security-events: write
23+
actions: read
24+
contents: read
25+
packages: read
26+
pull-requests: read
2227
jobs:
2328
analyze:
2429
name: Analyze (${{ matrix.language }})

0 commit comments

Comments
 (0)