ci(workflows): actions を最新バージョンに更新する - #31
Merged
Merged
Conversation
checkout / setup-node / pnpm-action-setup の pin が v4〜v6 系で バラついており、一部は導入時点で既に 2 メジャー遅れていた。 action リポの README テンプレが @v4 表記で、pinact がその メジャー内の最新 SHA に解決していたことが原因である。 pinact run -u で全 workflow を最新版へ揃える。 SHA + バージョンコメント形式は維持している。 pnpm/action-setup は v6.0.8 でバージョン解決の不具合が修正済みで、 workflow 側の明示的な version 入力も引き続き有効である。 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.
Summary
workflow の action pin が v4〜v6 系でバラついていたため、
pinact run -uで最新版へ揃えるのだ。edgeworkers-topics #17 のレビュー指摘が発端なのだ。調べたところ、これは展開時期のズレではなく action リポの README テンプレが
@v4表記で、pinact がそのメジャー内の最新 SHA に忠実に解決していたのが原因だったのだ(そのため展開日がいつでも v4.x が入る)。新しい版になっている repo は展開後に Dependabot が bump した結果なのだ。Changes
actions/checkout→ v7.0.1actions/setup-node→ v7.0.0pnpm/action-setup→ v6.0.9(repo により更新前バージョンは異なるのだ。SHA + バージョンコメント形式は維持しているのだ)
互換性について
pnpm/action-setupは v6 初期にバージョン解決の不具合があったのだ(#225 / #227)が、v6.0.8 で修正済みなので v6.0.9 は影響を受けないのだ。workflow 側の明示的なversion:入力も引き続き有効なのだcheckout/setup-nodeのメジャー更新は主に runner ランタイム(node20 → node24)の変更で、ubuntu-latest利用のため影響はないのだTest plan
Co-Authored-By: Claude noreply@anthropic.com