fix(ci): point CodeQL at 'actions' — repo has no JS/TS source#42
Merged
Conversation
CodeQL was configured for javascript-typescript, but feedback-o-tron has zero .js/.ts files (Elixir-primary, with Zig/Nickel/Julia support code). CodeQL supports none of those languages, so every run since 2026-06-24 failed with "no source code was seen". Switch the matrix to 'actions', the one CodeQL-supported language present, which analyses the repo's GitHub Actions workflows for CI-security issues — turning the gate green legitimately instead of disabling it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UPFC9YQ7g9gc3VnRox42Q1
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
hyperpolymath
marked this pull request as ready for review
July 2, 2026 13:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CodeQL has failed on
mainfor every run since 2026-06-24 (6+ consecutive failures, including current HEADf39f5a3). Root cause: the workflow declared ajavascript-typescriptanalysis matrix, but this repo has zero.js/.tsfiles. CodeQL then reports "No source code was seen during the build" and exits non-zero.feedback-o-tron is Elixir-primary (38
.ex+ 18.exs) with Zig, Nickel, and Julia support code — CodeQL supports none of those languages. The one CodeQL-supported language actually present isactions, which analyses the repo's 15 GitHub Actions workflow files for CI-security issues (workflow injection, secret exposure, unpinned actions).This switches the matrix from
javascript-typescripttoactions, turning the gate green legitimately (satisfy the gate, don't disable it) while adding genuine workflow-security coverage aligned with the estate's SHA-pinning / CI-hardening posture.Change
.github/workflows/codeql.yml: matrixlanguage: javascript-typescript→language: actions(keepsbuild-mode: none;categoryauto-derives to/language:actions).Verification
git ls-files | grep -E '\.(js|ts|jsx|tsx)$'→ empty (confirms no JS/TS to analyse).main:failureon the last 6 runs, all "no source seen".actionsis a first-class CodeQL language ingithub/codeql-action@v3withbuild-mode: none.🤖 Generated with Claude Code
https://claude.ai/code/session_01UPFC9YQ7g9gc3VnRox42Q1
Generated by Claude Code