Skip to content

fix(build): keep the CI release fetch from re-running without a token - #12

Merged
secsovereign merged 1 commit into
mainfrom
fix/release-fetch-preexport
Nov 19, 2026
Merged

secsovereign merged 1 commit into
mainfrom
fix/release-fetch-preexport

Conversation

@secsovereign

Copy link
Copy Markdown
Member

Pages run 44580856406 failed in Static export, not in the explicit fetch step. npm run export triggers the preexport hook, which runs fetch-blvm-release.mjs a second time with no GITHUB_TOKEN (only the earlier step gets it). With CI=true, the unauthenticated 403 rate-limit error exits 1.

Fix (script only, no workflow change): in CI, with no token and no --strict, keep the install-content.json that the authenticated --strict step just wrote. The --strict step still fails the build if the real fetch fails. Local runs behave as before.

Checked: CI=true with no token prints the skip message and exits 0; npm test passes. Unblocks website#3 shipping.

@secsovereign
secsovereign merged commit cdcd34e into main Nov 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant