From 3c5fd813df6086de5834bc0418964a57546be0e8 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Thu, 6 Aug 2026 12:31: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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7cc62ad..60d32e3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,7 +30,9 @@ jobs: fail-fast: false matrix: include: - - language: javascript-typescript + - language: actions + build-mode: none + - language: rust build-mode: none steps: - name: Checkout