Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix the token permissions for private copies of the CodeQL Action, an…
…d for runs that are not from pull requests.
Chris Gavin committed Apr 30, 2021

Unverified

No user is associated with the committer email.
1 parent 643bc6e commit e305db8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
@@ -14,7 +14,9 @@ jobs:
versions: ${{ steps.compare.outputs.versions }}

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

steps:
- uses: actions/checkout@v2
@@ -63,6 +65,7 @@ jobs:
runs-on: ${{ matrix.os }}

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

0 comments on commit e305db8

Please sign in to comment.