ci: allow manual CodeQL validation of PR branches

This commit is contained in:
4gray committed 2026-09-21 07:45:28 +02:00
1 parent a5e24f25c1
commit 1cdb2019d1
2 files changed
+11

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
name: "CodeQL"
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
+10
View File
@@ -11,6 +11,16 @@ pnpm nx show projects --withTarget lint
pnpm nx show projects --withTarget e2e
```
## Manual CI Runs
When a PR event does not start checks for the current head, dispatch CI and E2E
with `gh workflow run ci.yml --ref <branch>` and
`gh workflow run e2e-tests.yaml --ref <branch>`. CodeQL also supports
`gh workflow run codeql-analysis.yml --ref <branch>`; this analyzes the selected
branch commit instead of the PR merge commit. Verify each run's head SHA before
using its result as evidence. Docker validation can use
`gh workflow run docker.yml --ref <branch> -f push=false`.
## Unit And Type Checks
| Area | Command |