fix: Renovateによるbook000 reusable workflowのdigest再固定を戻す#67
Merged
Conversation
Environment 承認待ちこの PR のビルドを実行するには、Environment |
book000/templates#432 の実装漏れにより発生した巻き戻り。 book000/templates#434 で根本原因は修正済み。 Refs: book000/book000#124
akubiusa
force-pushed
the
fix/124-renovate-repin-revert
branch
from
July 3, 2026 22:31
22f6108 to
4d3fdc7
Compare
There was a problem hiding this comment.
Pull request overview
Renovate により誤って digest 固定へ巻き戻された reusable workflow の参照を、意図どおり @master 追従に戻し、本リポジトリの CI がテンプレート側のロールアウト方針(@master)に追随できるようにする PR です。
Changes:
.github/workflows/maven-ci.ymlの reusable workflow 参照を@<digest>→@masterに戻す
判断記録
- 判断内容: PR の目的(digest 再固定の巻き戻しを元に戻す)と差分が一致しており、変更範囲も最小です。
- 代替案:
@masterではなく、タグ(例:@vX)や SHA 固定で再現性・サプライチェーン耐性を高める。 - 採用理由(現実装の妥当性): PR 説明にあるとおり、テンプレート側の Renovate 設定が修正済みで再発見込みが低く、
@master追従が要件になっているため。 - 前提条件:
book000/templatesのmasterが運用上信頼でき、意図した変更以外が混入しない前提。 - 不確実性:
@masterは更新により CI の挙動が予告なく変わり得るため、将来的なトラブルシュート時に経緯が追いづらくなる可能性があります(nit コメントで補強案を提示済み)。
book000/templates#435 でreusable-maven.ymlにallow-unsafe-pr-checkout対応が 追加されたため、本リポジトリの呼び出し側でも渡すよう修正する。 これによりフォークPRでのMaven CIが正常に実行できるようになる。 Refs: book000/book000#124 Refs: book000/templates#435
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.
概要
book000/book000#124 のロールアウト対応(本リポジトリでは既にマージ済み)で
@masterに変更した箇所が、book000/templates 側の Renovate 設定の不備(book000/templates#432 の実装漏れ)により、Renovate bot によって再度 digest 固定へ巻き戻されていました。book000/templates#434 で Renovate 側の設定(
pinDigests: false)は修正済みのため、今後は再発しません。本 PR は巻き戻ってしまった箇所を再度@masterに戻すものです。変更内容
uses: book000/templates/.github/workflows/reusable-*.yml@<digest>を@masterに変更検証
python3 -c "import yaml; yaml.safe_load(...)"で全対象ファイルの YAML 構文を確認関連