From 436b02381ef52d5b25328dbc0148cf84bb6015de Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 26 Nov 2024 21:32:29 +0100 Subject: [PATCH] ci: Add security-events write permission for SARIF upload Required on `main` according to https://github.com/github/codeql-action/issues/2117 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fca0fd207..700226613 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,6 +65,9 @@ jobs: # Android lint is per-variant lint: + permissions: + # Required to upload SARIF files + security-events: write strategy: matrix: color: ["orange"]