Skip to content

Commit 12551d3

Browse files
authored
[chore] [workflow] Add permissions (#37127)
#### Description codeql requires security-events: write... #### Link to tracking issue #### Testing * [Before](https://github.com/check-spelling-sandbox/opentelemetry-collector-contrib/actions/runs/12701467278) * [After](https://github.com/check-spelling-sandbox/opentelemetry-collector-contrib/actions/runs/12702117033) Signed-off-by: Josh Soref <[email protected]>
1 parent c695ab0 commit 12551d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
jobs:
1010
CodeQL-Build:
1111
runs-on: macos-latest
12+
permissions:
13+
actions: read
14+
contents: read
15+
security-events: write
1216
if: ${{ github.actor != 'dependabot[bot]' }}
1317
env:
1418
# Force CodeQL to run the extraction on the files compiled by our custom

0 commit comments

Comments
 (0)