ci: narrow codeql guard to schedule-only

Use event_name check so push/PR-triggered CodeQL scans still run on
forks — only the scheduled run is skipped.
This commit is contained in:
DmitriyAlergant
2026-03-23 21:39:11 -04:00
parent 91bc095e18
commit 1310a275d2
+1 -1
View File
@@ -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