ci(prune): prune workflow に AR 認証を追加#21
Open
april418 wants to merge 1 commit into
Open
Conversation
prune action 内部の pnpm install が @intimatemerger-internal/* を AR から 取得する際 401 になり、override の要否判定ができず常に全 keep になっていた。 WIF 認証 + setup-gcloud + artifactregistry-auth を追加して解消する。 Co-Authored-By: Claude Opus 4.8 <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.
概要
prune-supply-chain workflow に AR 認証を追加する。
背景
prune action は override の要否を
pnpm installで検証するが、@intimatemerger-internal/*を AR から取得する際 401 Unauthorized(No authorization header)になり、判定できず常に全 override を keep していた(prune が実質機能していない)。変更
permissions: id-token: write追加npx google-artifactregistry-authを prune action の前に追加(test/upload workflow と同じパターン)🤖 Generated with Claude Code