From 1310a275d2d20d938e41bd176225370bc66adb77 Mon Sep 17 00:00:00 2001 From: DmitriyAlergant Date: Mon, 23 Mar 2026 21:39:11 -0400 Subject: [PATCH] ci: narrow codeql guard to schedule-only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use event_name check so push/PR-triggered CodeQL scans still run on forks — only the scheduled run is skipped. --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4e45b7fbe6..91b88b66a1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -15,7 +15,7 @@ concurrency: jobs: analyze: - if: github.repository == 'BerriAI/litellm' + if: github.event_name != 'schedule' || github.repository == 'BerriAI/litellm' name: Analyze (${{ matrix.language }}) runs-on: ubuntu-latest timeout-minutes: 30