From 983936dbf3eb3506ad15080d60c6c7c0bcbcc4e9 Mon Sep 17 00:00:00 2001 From: southernsun Date: Fri, 20 Sep 2024 02:31:20 +0200 Subject: [PATCH] Update codeql.yml to allow for private repositories to be checked-out. Added additional permissions for the analyze job so the action is able to checkout the code of it is a private repository. Otherwise a "repository not found" error is displayed. --- .github/workflows/codeql.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 862c7338f..b870841e2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -25,6 +25,8 @@ jobs: name: Analyze runs-on: ubuntu-latest permissions: + actions: read + contents: read security-events: write steps: