fix(ci): repair CodeQL workflow (invalid YAML + drop beta-Rust leg)#133
Merged
Conversation
Two defects in .github/workflows/codeql.yml: 1. The `strategy:` block was indented 2 spaces — floating as a sibling of the `analyze` job instead of nested inside it — with a misaligned matrix leg, so the file did not parse as YAML (actionlint: "did not find expected '-' indicator"). CodeQL never ran. 2. The only matrix language was `rust`, whose CodeQL support is beta and cancels/hangs. Re-indented the strategy block under the job and set the leg to `actions` (non-empty matrix, no zero-jobs startup_failure). Rust security belongs in cargo-audit/clippy. Verified with actionlint: no parse/syntax errors; actions leg present, no active rust leg. Part of the estate-wide CI cleanup (13 repos; reference hyperpolymath/gitbot-fleet#375). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
hyperpolymath
marked this pull request as ready for review
July 17, 2026 22:05
hyperpolymath
enabled auto-merge (squash)
July 17, 2026 22:05
hyperpolymath
disabled auto-merge
July 17, 2026 22:40
|
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.



What
.github/workflows/codeql.ymlhad two defects:strategy:block was indented 2 spaces — floating outside theanalyzejob — with a misaligned matrix leg, so the file did not parse as YAML (actionlint: did not find expected '-' indicator). CodeQL never ran.rust(beta CodeQL — cancels/hangs).Fix
Re-indent the
strategyblock under the job; set the leg toactions(non-empty matrix, no zero-jobsstartup_failure).Verification
actionlint: no parse/syntax errors;actionsleg present, no activerustleg.Context
Estate-wide shared-fate: 13 repos carried the beta-Rust CodeQL leg. Reference: hyperpolymath/gitbot-fleet#375.
🤖 Generated with Claude Code