From 51e2b975954a5ed24a7d7f619299944e67606dbf Mon Sep 17 00:00:00 2001 From: n1474335 Date: Mon, 13 Mar 2023 18:03:33 +0000 Subject: [PATCH] Updated CodeQL action --- .github/workflows/codeql.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3fa7a23b..1350e976 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,6 +7,7 @@ on: pull_request: # The branches below must be a subset of the branches above branches: [ master ] + types: [synchronize, opened, reopened] schedule: - cron: '22 17 * * 5' @@ -14,6 +15,10 @@ jobs: analyze: name: Analyze runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write strategy: fail-fast: false @@ -31,3 +36,5 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}"