Repository navigation
chore(deps): GitHub Actions を更新 - #336
Merged
Merged
Conversation
- actions/checkout v6.0.3 -> v7.0.1 - actions/setup-node v7.0.0 -> v7.1.0 - flatt-security/setup-takumi-guard-npm v1.2.0 -> v1.4.0 - actions/deploy-pages v5.0.0 -> v5.0.1
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 を、公開から 14 日以上経過した最新版に更新しました(
.npmrcのmin-release-age=14と同じ基準)。参照形式は既存どおり SHA 固定+バージョンコメントです。3d3c42e5aac5ba805825da76410c181273ba90b1949feb2413d6458794dcd2491c4babbbce0c15c114f07d0cbc739b42a1b7c70a04c2b84cd1318ddd368f82528645a54fb793d4d04e342629a3f51346actions/upload-pages-artifactは v5.0.0 が最新のため変更なしです。SHA はgh api repos/<owner>/<repo>/commits/<tag>で解決しました。pull_request_target/workflow_runからフォーク PR のコードを checkout するとブロックされるようになりました(解除用の inputallow-unsafe-pr-checkoutを追加)。このリポジトリの trigger はpull_requestとpushのみなので影響なし。実行ランタイムは v6.0.3 と同じnode24です。.npmrcから$RUNNER_TEMP/.npmrcに変わり、NPM_CONFIG_USERCONFIG/NPM_CONFIG_REGISTRYを$GITHUB_ENVで export するようになりました。コミット済みの.npmrc(min-release-age=14のみ)は project config として引き続き読まれ、registry=の指定も無いので影響はない見込みです。Release Notes が挙げる影響ケース(Dockerfile のCOPY .npmrc、~/.npmrcへの追記、.npmrc内のトークン、npm publish)はいずれも該当しません。bot-id指定時に OIDC 認証が失敗すると、これまでは警告だけで匿名インストールに進んでいたのが、ステップ失敗になりました。両 workflow ともid-token: writeを付与済みなので通常は影響ありません。ただし フォークからの PR では OIDC トークンが発行されないため Check build が失敗します(以前は匿名で通っていた)。フォーク PR を受け付ける場合は別途対応が必要です。変更内容(全版)
actions/checkout v6.0.3 → v7.0.1
--unsetに渡す値をエスケープ、依存更新 (release)actions/setup-node v7.0.0 → v7.1.0
node-version-fileでmise.tomlに対応、絶対パスに対応、Node バージョンの検証と manifest 取得のリトライを追加、依存更新 (release)flatt-security/setup-takumi-guard-npm v1.2.0 → v1.4.0
$RUNNER_TEMP/.npmrcに書き込み環境変数で参照する方式へ変更、inputalways-authと outputnpmrc-pathを追加、Yarn Berry / bun 対応 (release)actions/deploy-pages v5.0.0 → v5.0.1
最小リリース経過時間のため見送ったもの
なし(上記より新しい版はありません)
更新に伴うコード修正
なし
未確認
なし
確認したこと
actionlintでエラーなしaction.ymlを差分比較し、inputs の削除や実行ランタイム(runs.using)の変更がないことを確認(checkout と setup-node はどちらもnode24、takumi guard はcompositeのまま)gh-pages.ymlは master への push でのみ動くため、deploy-pagesとgh-pages.yml側の変更はマージ後のデプロイで確認