[review] chore(deps): GitHub Actions を最新版に更新し、すべてコミット SHA でピン留め - #51
Merged
Conversation
サプライチェーン攻撃のリスクを下げるため、各 action をリリースから1週間以上 経過している最新版に更新し、すべて可動タグではなくコミット SHA でピン留めした。 - actions/checkout: v4.2.2 / @v4 -> v7.0.1 - peter-evans/create-pull-request: v7.0.11 -> v8.1.1 - aws-actions/configure-aws-credentials: v4.2.1 -> v6.2.3 - aws-actions/amazon-ecr-login: v2.0.1 -> v2.1.6 - docker/build-push-action: v6.15.0 -> v7.3.0 - SonicGarden/world-notify-action: @v1 / @v2 -> v2.0.0 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
概要
サプライチェーン攻撃のリスクを下げるため、ワークフローで参照している GitHub Actions を リリースから1週間以上経過している最新版 に更新し、すべて可動タグではなくコミット SHA でピン留めしました。
更新内容
@v4@v1/@v2あわせて対応した点
build.yml/build_and_push.ymlのactions/checkout@v4は SHA ピンされていなかったため、他と同様に SHA ピンに統一build_and_push.ymlの world-notify-action は@v1(node16 ランタイムで既にサポート切れ)だったため v2 に統一。v1/v2 の inputs(token/groupId/content)は同一なので設定変更は不要確認してほしい点
今回のメジャーアップデートはいずれも Node 24 化が主な breaking change で、Actions Runner v2.327.1 以降が必要 です。
ubuntu-24.04は問題ありませんが、matrix で使っているlinux-arm64-publicランナーが自前ホストの場合はランナーのバージョン確認をお願いします。それ以外の breaking change(checkout v7 の fork PR チェックアウト制限、configure-aws-credentials v5 の不正な boolean 入力の扱い変更、build-push-action v7 の
DOCKER_BUILD_NO_SUMMARY等の削除)は、このリポジトリの使い方には該当しませんでした。🤖 Generated with Claude Code