Skip to content

Commit 5d8a79f

Browse files
hyperpolymathclaude
andcommitted
fix(codeql): analyse the languages this repository actually has
`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 <noreply@anthropic.com> Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
1 parent 38d9936 commit 5d8a79f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
include:
34-
- language: javascript-typescript
34+
- language: actions
3535
build-mode: none
36-
3736
steps:
3837
- name: Checkout
3938
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

0 commit comments

Comments
 (0)