From 045b9ea08fd46c502b6b3b164d0e0209b70ec58f Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Wed, 20 Dec 2023 00:18:07 +0700 Subject: [PATCH 1/2] Update codeql.yml Signed-off-by: Jacob Gadikian --- .github/workflows/codeql.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1a631167a..44e921b36 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,15 +2,8 @@ name: "CodeQL" on: pull_request: - paths: - - "**.go" - push: - # The branches below must be a subset of the branches above branches: - - main - - release/** - paths: - - "**.go" + - master jobs: analyze: @@ -40,4 +33,4 @@ jobs: run: make build - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 \ No newline at end of file + uses: github/codeql-action/analyze@v2 From 1d81a5a67049f648e89103d543de25dad66939a1 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Wed, 20 Dec 2023 00:19:32 +0700 Subject: [PATCH 2/2] add pushes for master branch Signed-off-by: Jacob Gadikian --- .github/workflows/codeql.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 44e921b36..21a9f4e9d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -4,6 +4,9 @@ on: pull_request: branches: - master + push: + branches: + - master jobs: analyze: