From bbebfafece728bf18c4381afc1dfdc068cce2fbe Mon Sep 17 00:00:00 2001 From: Brian Cristante <33549821+brcrista@users.noreply.github.com> Date: Thu, 24 Mar 2022 09:48:15 -0400 Subject: [PATCH] Run CodeQL only on pushes to main --- .github/workflows/codeql-analysis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d26264db1..c30fab46e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,6 +2,7 @@ name: "Code scanning - action" on: push: + branches: [ 'main' ] pull_request: schedule: - cron: '25 3 * * 5'