Skip to content

Commit e22a722

Browse files
committed
Add permissions to codeql-analysis.
Clear ossf-security alert about missing permission restriction.
1 parent c59ee60 commit e22a722

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ concurrency:
2525
group: ${{ github.workflow }}-${{ github.ref }}
2626
cancel-in-progress: true
2727

28+
permissions:
29+
contents: read
30+
2831
jobs:
2932
analyze:
3033
name: Analyze

0 commit comments

Comments
 (0)