ci: codeql-action の init と analyze のバージョン不一致を解消 - #71
Merged
Conversation
init が v4.37.9 (cdf488f, 2026-08-26) を指す一方、analyze だけ v4.37.7 (ff2f1c6, 2026-08-13) に取り残されており、2026-08-31 の run 3 本が "Loaded a configuration file for version '4.37.8', but running version '4.37.9'" で失敗していた。 init が書き出した設定ファイルを、異なるバージョンの analyze が読もうとして 拒否している。両者は同一リリースの SHA を指す必要がある。 analyze を init と同じ v4.37.9 (cdf488f) に揃える。v4.37.9 が現時点の最新。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K26wUX9CiZCE2g2xxSbSwB
Code Validation Results
No critical issues found. |
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.
背景
/起動の CodeQL 恒久対応。本リポは public なので Code Scanning は無料で使えるが、8/31 の run 3本が下記で失敗していた。原因
initとanalyzeが別バージョンの SHA を指していた。cdf488fff2f1c6initが書き出した設定ファイルを、異なるバージョンのanalyzeが読んで拒否している。Dependabot が片方だけ更新した状態で残っていたと見られる。対応
analyzeをinitと同じ v4.37.9(cdf488f)に揃える。gh api repos/github/codeql-action/git/ref/tags/v4.37.9を dereference して、このタグの commit SHA がcdf488fであることを確認済み。v4.37.9 が現時点の最新。検証
public リポなので、この PR の CI で CodeQL が実際に success することを実測する。
🤖 Generated with Claude Code
https://claude.ai/code/session_01K26wUX9CiZCE2g2xxSbSwB