Skip to content

Commit

Permalink
[chore] [workflow] Add permissions (open-telemetry#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 and AkhigbeEromo committed Jan 13, 2025
1 parent 7182b53 commit a3c2c07
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 a3c2c07

Please sign in to comment.