Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

ci(codeql): scan dev PRs and pushes; add manual re-run

Alfredo Lopez9ba586b5b1e0
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 7f1d91041..a0b1b9dbb 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -10,9 +10,17 @@ name: CodeQL
on:
push:
- branches: [main]
+ # dev is the integration branch where feature PRs land first; without it,
+ # code merged to dev goes unscanned until it reaches main, and PRs targeting
+ # dev never get a CodeQL run at all (their alerts freeze the moment a PR is
+ # retargeted away from main).
+ branches: [main, dev]
pull_request:
- branches: [main]
+ branches: [main, dev]
+ # Manual re-run: lets a maintainer re-scan a branch after a fix without
+ # waiting for the weekly schedule (e.g. to clear an alert whose PR was
+ # retargeted from main to dev mid-review).
+ workflow_dispatch:
schedule:
# Weekly, so newly-published CodeQL queries reach the default branch even in
# a quiet week. Monday 07:00 UTC.