Skip to content

Commit 2c5bd4c

Browse files
committed
Explicit Permissions for codeql.yml
1 parent dc95487 commit 2c5bd4c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on:
77
schedule:
88
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
99
- cron: '0 5 * * *'
10-
10+
permissions: read-all
1111
jobs:
1212
codeql-analysis-call:
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
1317
uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@1

0 commit comments

Comments
 (0)