Skip to content

Commit

Permalink
ci: set explicit permissions on code-analysis workflow
Browse files Browse the repository at this point in the history
Hopefully this fixes the CI actions on the `main`/`master` branches.

See: github/codeql-action#464
See: https://github.com/scality/changelog-binder/runs/2896442908?check_suite_focus=true
See: #29
  • Loading branch information
NicolasT committed Jun 23, 2021
1 parent 560bdee commit 7d21015
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ name: "CodeQL"
- "master"
- "development/*"

permissions:
actions: read
contents: read
pull-requests: read
security-events: write

jobs:
analyze:
name: Analyze
Expand Down

0 comments on commit 7d21015

Please sign in to comment.