Skip to content

ci: CodeQL language matrix -> actions#48

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/practical-newton-9eFe2
Jun 14, 2026
Merged

ci: CodeQL language matrix -> actions#48
hyperpolymath merged 1 commit into
mainfrom
claude/practical-newton-9eFe2

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Problem

.github/workflows/codeql.yml declared the CodeQL language javascript-typescript, but this repo contains no JS/TS source. As a result the analyze (javascript-typescript) job failed "no source files found" on every run, producing zero SAST signal.

Fix

Set the CodeQL language matrix to exactly actions. CodeQL's actions language scans the GitHub Actions workflow files (which this repo has), giving real, actionable SAST coverage. Per the repo's own Hypatia workflow_audit recommendation.

Change

  • Matrix include entry: language: javascript-typescript -> language: actions.
  • The rest of the workflow is untouched; category: "/language:${{ matrix.language }}" is preserved (it parameterises on matrix.language).
  • Only .github/workflows/codeql.yml is modified.

https://claude.ai/code/session_017TXizM5c1Yd9HWf7Y15YH2


Generated by Claude Code

codeql.yml declared `javascript-typescript`, but the repo has no JS/TS source,
so the analyze job recorded zero results / failed "no source files" every run.
CodeQL's `actions` language scans the workflow files (present in every repo),
giving real SAST signal. Per the repo's Hypatia workflow_audit finding.

https://claude.ai/code/session_017TXizM5c1Yd9HWf7Y15YH2
@github-advanced-security

Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@hyperpolymath hyperpolymath marked this pull request as ready for review June 14, 2026 12:44
@hyperpolymath hyperpolymath merged commit 71fbca7 into main Jun 14, 2026
12 checks passed
@hyperpolymath hyperpolymath deleted the claude/practical-newton-9eFe2 branch June 14, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants