fix: align codeql-action init/analyze SHA to autobuild - #657
Conversation
init+analyze were pinned to c10b8064 (CodeQL 4.35.1) while autobuild+upload-sarif use e4fba868 (CodeQL 4.37.3). The version skew made Go autobuild fail: "Loaded a configuration file for version '4.37.3', but running version '4.35.1'". Bump init+analyze to e4fba868 so every codeql-action step runs the same CodeQL.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
Summary by CodeRabbit
WalkthroughThe CodeQL initialization and analysis composite actions now reference the same updated pinned commit for v4. Existing inputs and exported entities remain unchanged. ChangesCodeQL action pin update
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
🛡️ CodeQL Analysis ResultsLanguages analyzed: ✅ No security issues found. 🔍 View full scan logs | 🛡️ Security tab |
🔍 Lint Analysis
|
🔍 PR Validation Summary✅ PR Mergeable — no blocking failures
|
|
Fechando: redundante. origin/develop e main já têm init/analyze em e4fba868 (alinhado com autobuild) — o mismatch só aparecia num checkout local desatualizado (30 commits atrás). O fix já está no v1.53.1. |
Problem
Go CodeQL scans fail at the Autobuild step:
Loaded a configuration file for version '4.37.3', but running version '4.35.1'.Root cause: the
github/codeql-actionsteps are on two different SHAs:init+analyze→c10b8064(CodeQL 4.35.1)autobuild+upload-sarif→e4fba868(CodeQL 4.37.3)initsets up 4.35.1;autobuild(newer) expects 4.37.3 → version skew → autobuild aborts.Fix
Bump
codeql-initandcodeql-analyzecomposites toe4fba868so all four codeql-action steps run the same CodeQL (4.37.3). Same major (v4); no behavior change beyond version alignment.Seen on LerianStudio/vault-lerian PR #3.