From c2cb262b959a1b5f4047b7d24feab966b4f323f2 Mon Sep 17 00:00:00 2001 From: Chris Wolfgang <210299580+Chris-Wolfgang@users.noreply.github.com> Date: Mon, 27 Apr 2026 18:46:47 -0400 Subject: [PATCH] Add pull_request trigger to CodeQL workflow Brings Try-Pattern's codeql.yaml in line with the canonical repo-template. Without this trigger, the CodeQL job did not run on pull requests, leaving the now-required 'Security Scan (CodeQL) (csharp)' status check perpetually expected and blocking all PR merges. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/codeql.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index ecd78a6..a0ccb96 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -3,6 +3,8 @@ name: "CodeQL Security Analysis" on: push: branches: [ "main" ] + pull_request: + branches: [ "main" ] schedule: - cron: '0 0 * * 0' # Weekly on Sunday at midnight UTC