chore: GitHub Actions を最新バージョンに更新 - #34
Merged
Merged
Conversation
- actions/checkout: v5 → v7 (3 ワークフロー)
v7 の破壊的変更は pull_request_target / workflow_run での fork PR
チェックアウト禁止。当リポジトリは通常の pull_request トリガーのみ
なので影響なし。
- slackapi/slack-github-action: v1.24.0 → v3.0.5
v2 で incoming webhook の指定方法が破壊的変更を受けたため移行:
- SLACK_WEBHOOK_URL 環境変数 → webhook 入力値
- SLACK_WEBHOOK_TYPE 環境変数 → webhook-type: incoming-webhook
payload の JSON はそのまま利用可能。
ruby/setup-ruby@v1 と peaceiris/actions-gh-pages@v4 は浮動メジャー
タグで既に最新 (v1.316.0 / v4.1.0) のため変更なし。
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.
概要
ワークフローで使っている Actions を最新版に更新しました。
actions/checkoutslackapi/slack-github-actionruby/setup-rubypeaceiris/actions-gh-pages破壊的変更への対応
actions/checkout v5 → v7
v7 の破壊的変更は「
pull_request_target/workflow_runでの fork PR のチェックアウトを禁止」ですが、当リポジトリのclaude-review.ymlは通常のpull_requestトリガーを使っており、他の 2 つはpush/scheduleなので影響ありません。v6 での変更は Node.js 24 ランタイム化と認証情報の保存先変更で、GitHub ホストランナーでは対応済みです。slackapi/slack-github-action v1.24.0 → v3.0.5
v2 で incoming webhook の指定方法が変わったため、公式の移行ガイドに沿って書き換えました。
SLACK_WEBHOOK_URL環境変数 →webhook入力値SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK環境変数 →webhook-type: incoming-webhook入力値payloadの JSON はそのまま利用できるため、通知内容に変更はありません。v3 の破壊的変更は Node.js 24 ランタイム化のみで、GitHub ホストランナーでは対応済みです。動作確認
if: failure()で、日次ビルドが失敗したときにしか発火しません。実際の送信は次にビルドが失敗したときまで検証できないため、意図的にビルドを壊さない限りこの PR では確認できない点にご留意ください(設定内容は公式移行ガイドどおりです)。