From 37a3c2992d782494e1f54d608bff5e5088e072e1 Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Fri, 3 Jan 2025 21:17:59 -0500 Subject: [PATCH] Only run `codeql.yml` for the `main` branch. Resolve #701 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> --- .github/workflows/codeql.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9c4f1605..a00b4129 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -5,7 +5,9 @@ name: CodeQL on: push: + branches: [main] pull_request: + branches: [main] schedule: - cron: 44 14 * * 4 workflow_dispatch: