mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-05 02:23:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user