ci(codeql): switch matrix javascript-typescript → actions (no JS source)#45
Merged
Merged
Conversation
…o JS source) `.github/workflows/codeql.yml` had `language: javascript-typescript` but this repo contains zero JS/TS/JSX/TSX source files (verified via git tree scan, excluding vendored/build paths). The CodeQL `analyze` job therefore exited with "configuration error: no source files" on every run, blocking Dependabot PRs. Switch the matrix to `actions` — CodeQL's workflow-scanning lane, which inspects `.github/workflows/*.yml` for security issues. Every repo has workflow files, so this lane always has something useful to scan. Detector: hypatia rule WF008 (`check_codeql_language_matrix_mismatch`) already fires on this pattern via `has_codeql_supported_language` opts. Caught by the 2026-05-30 estate CI/CD audit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
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. |
🔍 Hypatia Security ScanFindings: 79 issues detected
View findings[
{
"reason": "No test directory or test files found",
"type": "no_tests",
"file": "/home/runner/work/vcs-ircd/vcs-ircd",
"action": "flag",
"rule_module": "honest_completion",
"severity": "high",
"deduction": 20
},
{
"reason": "Action perpolymath/standards/.github/workflows/governance-reusable.yml@main\n needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in aur-publish.yml",
"type": "missing_timeout_minutes",
"file": "aur-publish.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in aur-publish.yml",
"type": "missing_timeout_minutes",
"file": "aur-publish.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in codeql.yml",
"type": "missing_timeout_minutes",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in container.yml",
"type": "missing_timeout_minutes",
"file": "container.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dependabot-automerge.yml",
"type": "missing_timeout_minutes",
"file": "dependabot-automerge.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in generator-generic-ossf-slsa3-publish.yml",
"type": "missing_timeout_minutes",
"file": "generator-generic-ossf-slsa3-publish.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in generator-generic-ossf-slsa3-publish.yml",
"type": "missing_timeout_minutes",
"file": "generator-generic-ossf-slsa3-publish.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in governance.yml",
"type": "missing_timeout_minutes",
"file": "governance.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
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
.github/workflows/codeql.ymlhadlanguage: javascript-typescriptbut this repo contains zero JS/TS source files. CodeQL'sanalyzejob exited "configuration error: no source files" on every run.Fix
Switch the matrix to
language: actions— CodeQL's workflow-scanning lane (inspects.github/workflows/*.ymlfor injection/leak patterns). Every repo has workflow files, so this lane always has signal.Estate-wide context
One of 4 zero-JS repos in the 2026-05-30 audit. Hypatia rule WF008 (
check_codeql_language_matrix_mismatch) detects the pattern automatically going forward.🤖 Generated with Claude Code