Skip to content

Commit

Permalink
[chore] [workflow] Add permissions (#37127)
Browse files Browse the repository at this point in the history
#### 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]>
  • Loading branch information
jsoref authored Jan 13, 2025
1 parent c695ab0 commit 12551d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
jobs:
CodeQL-Build:
runs-on: macos-latest
permissions:
actions: read
contents: read
security-events: write
if: ${{ github.actor != 'dependabot[bot]' }}
env:
# Force CodeQL to run the extraction on the files compiled by our custom
Expand Down

0 comments on commit 12551d3

Please sign in to comment.