From ed8a2e6166cebd6a1ee3cd44883728f086900611 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sat, 16 Jul 2022 22:33:37 +0000 Subject: [PATCH] Add permissions/security-events:write to CodeQL action to allow it to run in read-only Workflow permissions mode. --- .github/workflows/codeql-analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4d084657b..21b347a68 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -11,6 +11,8 @@ jobs: analyze: name: Analyze runs-on: ubuntu-latest + permissions: + security-events: write strategy: fail-fast: false