Skip to content

Commit 9544434

Browse files
authored
fixed #13351 - codeql-analysis.yml: limit write permissions to jobs (#7212)
1 parent ceafb41 commit 9544434

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .github/workflows/codeql-analysis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ on:
1414

1515
permissions:
1616
contents: read
17-
security-events: write
1817

1918
jobs:
2019
analyze:
2120
name: Analyze
2221
runs-on: ubuntu-22.04
22+
permissions:
23+
security-events: write
2324

2425
strategy:
2526
fail-fast: false

0 commit comments

Comments
 (0)