From 5217ea8f18341c167e95f2fd01378edac4ba38f7 Mon Sep 17 00:00:00 2001 From: Robert Sirchia Date: Fri, 13 Sep 2024 15:18:24 -0400 Subject: [PATCH 1/2] testing permissing for codeql Signed-off-by: Robert Sirchia --- .github/workflows/codeql-analysis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ab4807b64..5bc311345 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,7 +13,7 @@ name: "CodeQL" on: push: - branches: [ main ] + # branches: [ main ] pull_request: # The branches below must be a subset of the branches above branches: [ main ] @@ -22,6 +22,7 @@ on: permissions: contents: read + security-events: write jobs: analyze: From 8642225be3ef801bca594f320240ed0218dd3166 Mon Sep 17 00:00:00 2001 From: Robert Sirchia Date: Fri, 13 Sep 2024 15:22:57 -0400 Subject: [PATCH 2/2] Fixing the action trigger Signed-off-by: Robert Sirchia --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5bc311345..662f89bda 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,7 +13,7 @@ name: "CodeQL" on: push: - # branches: [ main ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above branches: [ main ]