From 85bc6f3dc055547cd0d3874ba8857461007768a9 Mon Sep 17 00:00:00 2001 From: elij Date: Sun, 17 Dec 2023 20:29:09 -0800 Subject: [PATCH] fix codeql --- .github/workflows/codeql-analysis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d9d79e8..c96edb2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,7 +2,7 @@ name: "CodeQL" on: push: - branches: ['**'] + branches: [master] pull_request: # The branches below must be a subset of the branches above branches: [master] @@ -13,6 +13,9 @@ jobs: analyse: name: Analyse runs-on: ubuntu-latest + permissions: + security-events: write + actions: read steps: - name: Checkout repository