Skip to content

Commit 1d49ae5

Browse files
authored
Actions: Add permissions block to code scanning workflow (#850)
1 parent b00826d commit 1d49ae5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ on:
1111
jobs:
1212
codeql:
1313
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: read
17+
security_events: write
18+
pull_requests: read
19+
1420
steps:
1521
- name: Checkout repository
1622
uses: actions/checkout@v2

0 commit comments

Comments
 (0)