Commit cbad288
committed
ci: add estate-standard CodeQL workflow (unblocks code-scanning merge gate)
arghda-core's `main` branch protection requires Code Scanning results, but
the repo shipped no CodeQL workflow — so auto-merge waits forever
("Waiting for Code Scanning results. Code Scanning may not be configured
for the target branch"). Earlier PRs only merged because the owner merged
them manually; auto-merge enforces the gate strictly.
Root cause: arghda-core was EXTRACTED from echo-types rather than
instantiated from rsr-template-repo, so it never inherited the template's
`codeql.yml`. This restores the canonical estate workflow verbatim
(identical to rsr-template-repo + cicd-squabbler, which is green):
- `language: actions`, `build-mode: none` — the estate default; scans the
workflow files every repo has, avoiding the "no source files" failures
that `rust`/`javascript-typescript` extractors produce (CodeQL's Rust
support is limited). Per hypatia `codeql_language_matrix_mismatch`.
- Triggers on `push: [main]` (establishes the code-scanning BASELINE on the
target branch — the missing piece the error names) AND `pull_request`
(produces results on every PR). SHA-pinned actions.
Permanent fix: once this lands on `main`, the push-trigger run establishes
the baseline and every future PR's code-scanning gate is satisfied
automatically — no more manual-merge workaround.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012MpYSh6Wy8YMBH2E3qVyT71 parent ca59438 commit cbad288
1 file changed
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
0 commit comments