ci: Add security-events write permission for SARIF upload (#1140)

Required on `main` according to
https://github.com/github/codeql-action/issues/2117
This commit is contained in:
Nik Clayton 2024-11-26 21:42:52 +01:00 committed by GitHub
parent d03cf09708
commit 33f528b633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ jobs:
# Android lint is per-variant
lint:
permissions:
# Required to upload SARIF files
security-events: write
strategy:
matrix:
color: ["orange"]