Skip to content

ci: guard main promotions in Vercel - #50

Merged
jayteemoney merged 2 commits into
stagingfrom
chore/close-promotion-gaps
Nov 6, 2026
Merged

jayteemoney merged 2 commits into
stagingfrom
chore/close-promotion-gaps

Conversation

@jayteemoney

Copy link
Copy Markdown
Owner

Closes both remaining gaps without GitHub Actions:

  • Run scripts/vercel-promotion-guard.mjs during the Vercel install step so any open PR targeting main from a branch other than staging fails the required Vercel check.
  • Make every Vercel preview deployment use testnet by widening the preview-scoped NEXT_PUBLIC_NETWORK and NEXT_PUBLIC_CONTRACT_DEPLOYER variables; production remains mainnet.
  • Document the guard and preview behavior in CONTRIBUTING.md.

The helper keeps the Vercel install command under the 256-character project limit and runs the guard before dependency installation.

Run the promotion guard during the Vercel install step so non-staging PRs to main fail even while GitHub Actions is unavailable. Document that all preview deployments now use testnet.
@vercel

vercel Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stackstream Ready Ready Preview Nov 6, 2026 2:31pm UTC

Use the open PR-to-main list and match the deployed commit SHA so fork PRs and branches without a PR id are still checked.
@jayteemoney
jayteemoney merged commit a6c996b into staging Nov 6, 2026
2 of 5 checks passed
@jayteemoney
jayteemoney deleted the chore/close-promotion-gaps branch November 6, 2026 14:32

This branch was successfully deployed

1 active deployment
Preview — 2ece3e48 Deployed Nov 6, 2026 by vercel[bot]
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