From e798bec43371bd99557110b50fe37c09805f40be Mon Sep 17 00:00:00 2001 From: David Flanagan Date: Tue, 19 May 2026 16:52:16 +0100 Subject: [PATCH] ci: add CodeQL analysis for Rust + JavaScript/TypeScript MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `main` branch ruleset has a `code_scanning` requirement (CodeQL, `alerts_threshold: errors`) but no CodeQL workflow existed, so every PR to main was blocked indefinitely — the rule can't pass without a scan to evaluate. This adds the missing workflow. Coverage - `rust`: extracts the workspace via `cargo build --workspace`. Uses the same stable Rust + Go toolchain as `ci.yml`'s rust job so cuengine's Go FFI build keeps working under CodeQL's extractor. - `javascript-typescript`: source-only extraction, no build. Covers .ts, .tsx, .js, and `