From aba7bd0a32e096abbf071052b0cfb7d05db9d680 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:20 +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: none. 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. `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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ca83ae6..b208e14 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,9 +30,8 @@ jobs: fail-fast: false matrix: include: - - language: javascript-typescript + - language: actions build-mode: none - steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1