mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
10725074a4
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>