Skip to content

Commit

Permalink
.github/workflows: Update GHA token perms for CodeQL workflow
Browse files Browse the repository at this point in the history
Ref: https://github.com/github/codeql-action?tab=readme-ov-file#permissions

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
  • Loading branch information
ashutosh-narkar committed Aug 26, 2024
1 parent b3d8c2c commit a975ece
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ on:
push:
branches: [ main, release-* ]

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

jobs:
analyze:
Expand Down

0 comments on commit a975ece

Please sign in to comment.