Skip to content

fix(ci): align codeql-action init with the bumped analyze version - #1788

Merged
robcohen merged 1 commit into
mainfrom
fix/codeql-action-version-alignment
Jul 12, 2026
Merged

robcohen merged 1 commit into
mainfrom
fix/codeql-action-version-alignment

Conversation

@robcohen

Copy link
Copy Markdown
Member

Dependabot #1778 bumped only codeql-action/analyze to 4.37.0, leaving init at 4.36.3. Mixed versions fail every Analyze job — on main and every PR — with:

Loaded a configuration file for version '4.36.3', but running version '4.37.0'

Pins both steps to the same 4.37.0 SHA, with comments marking the pair as must-match so a future partial bump is visibly wrong. (Second bad artifact from the same dependabot batch as #1787 — the group config can't group across the init/analyze action paths, so this pair will drift again; the comment is the tripwire.)

🤖 Generated with Claude Code

Dependabot #1778 bumped only codeql-action/analyze to 4.37.0, leaving
init at 4.36.3 — mixed versions fail every Analyze job with 'Loaded a
configuration file for version 4.36.3, but running version 4.37.0'
(red on main and every PR). Pin both steps to the same SHA and say so
in the comment so a future partial bump is visibly wrong.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 12, 2026 17:29
@robcohen
robcohen requested a review from a team as a code owner July 12, 2026 17:29
@robcohen
robcohen enabled auto-merge (squash) July 12, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes CodeQL CI breakage caused by mismatched versions between github/codeql-action/init and github/codeql-action/analyze, by pinning both steps to the same v4.37.0 commit SHA and adding an explicit “must match” reminder to prevent future partial bumps.

Changes:

  • Pin github/codeql-action/init to the same v4.37.0 SHA as github/codeql-action/analyze.
  • Add inline comments noting that the init and analyze versions must match to avoid config-version errors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 811
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

@robcohen
robcohen merged commit e0643cf into main Jul 12, 2026
39 checks passed
@robcohen
robcohen deleted the fix/codeql-action-version-alignment branch July 12, 2026 17:39
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.

2 participants