Skip to content

Commit d54c822

Browse files
authored
Add permissions for contents in CodeQL workflow
1 parent 928f3c1 commit d54c822

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/codeql-dynamic.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
create-matrix:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
1113
outputs:
1214
matrix: ${{ steps.set-matrix.outputs.languages }}
1315
steps:

0 commit comments

Comments
 (0)