diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0cfd15957..f760dfcb0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,15 +2,11 @@ name: "CodeQL" on: pull_request: - paths: - - "**.go" + branches: + - master push: - # The branches below must be a subset of the branches above branches: - - main - - release/** - paths: - - "**.go" + - master jobs: analyze: @@ -40,4 +36,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