next.js
10725074 - [ci] Use OIDC tokens to read private preview builds (#96919)

Commit
99 days ago
[ci] Use OIDC tokens to read private preview builds (#96919) Replaces the shared, static `PREVIEW_BUILDS_READ_TOKEN` secret with OIDC tokens for reading auth-protected preview builds from vercel-packages (see https://github.com/vercel/vercel-packages/pull/96): - CI jobs mint a GH oidc token for the `https://vercel-packages.vercel.app` audience - deploys have a `.npmrc` written that uses the Vercel OIDC token Tarball polling now also fails fast on 401/403 (retrying can't change the authorization outcome) and failure messages include response headers so request IDs are available for debugging. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Author
Parents
Loading