From bb8de2d77e4d02af067f8a83eaa812ec8ebc229f 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 60dc22dc6..dc4c4f2e1 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: