From d026c44b9412ebbde6e3cdb2a0fbb27f75bf2542 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Thu, 6 Aug 2026 12:33:58 +0100 Subject: [PATCH] fix(codeql): analyse the languages this repository actually has MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `codeql database finalize` was exiting 32 on every run: CodeQL could not process any code written in JavaScript/TypeScript. The matrix asserted javascript-typescript, which this repository does not contain. Its languages are: rust. This is not only a failing check. The crash uploads no SARIF, so a `code_scanning` ruleset rule requiring CodeQL waits forever on "Code scanning is waiting for results from CodeQL" — one fault, two symptoms. Relaxing the rule's thresholds could not have helped, because no results arrive at all. New matrix: actions, rust. `actions` is valid in every repository (every repository has workflow files) and keeps this workflow producing a check and a SARIF upload even where CodeQL can analyse nothing else — most of this estate is written in languages CodeQL does not support. Co-Authored-By: Claude Opus 5 Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> --- .github/workflows/codeql.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c475caf..01b4ac0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,9 +30,10 @@ jobs: fail-fast: false matrix: include: - - language: javascript-typescript + - language: actions + build-mode: none + - language: rust build-mode: none - steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2