Skip to content

Commit

Permalink
ci: Add security-events write permission for SARIF upload
Browse files Browse the repository at this point in the history
Required on `main` according to github/codeql-action#2117
  • Loading branch information
nikclayton authored Nov 26, 2024
1 parent d03cf09 commit 436b023
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:

# Android lint is per-variant
lint:
permissions:
# Required to upload SARIF files
security-events: write
strategy:
matrix:
color: ["orange"]
Expand Down

0 comments on commit 436b023

Please sign in to comment.