Skip to content

ci: migrate publish-preview workflow to MetaMask/github-tools#73

Merged
mikesposito merged 1 commit into
mainfrom
migrate-publish-preview-workflow
May 21, 2026
Merged

ci: migrate publish-preview workflow to MetaMask/github-tools#73
mikesposito merged 1 commit into
mainfrom
migrate-publish-preview-workflow

Conversation

@mikesposito
Copy link
Copy Markdown
Member

Explanation

Replace the bespoke publish-preview workflow and its supporting scripts with a call to the reusable workflow from MetaMask/github-tools. The reusable workflow (with is-snap: true) now handles manifest renaming, publishing, and PR comment generation, so the local helper scripts are no longer needed.

Build-time configuration is forwarded to the reusable workflow via the new BUILD_ENV secret.

Note: the workflow is temporarily pinned to the mikesposito/snap-previews branch of github-tools for testing. This should be updated to a tagged release before merging.

References

N/A

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Replace the bespoke publish-preview workflow and its supporting scripts
with a call to the reusable workflow from MetaMask/github-tools. The
reusable workflow (with is-snap: true) now handles manifest renaming,
publishing, and PR comment generation, so the local helper scripts are
no longer needed.

Build-time configuration is forwarded to the reusable workflow via the
new BUILD_ENV secret.

Note: the workflow is temporarily pinned to the mikesposito/snap-previews
branch of github-tools for testing. This should be updated to a tagged
release before merging.
@mikesposito
Copy link
Copy Markdown
Member Author

@metamaskbot publish-preview

@mikesposito mikesposito marked this pull request as ready for review May 20, 2026 17:49
@mikesposito mikesposito requested a review from a team as a code owner May 20, 2026 17:49
Comment thread .github/workflows/publish-preview.yml
@mikesposito mikesposito merged commit bccca7f into main May 21, 2026
10 checks passed
@mikesposito mikesposito deleted the migrate-publish-preview-workflow branch May 21, 2026 08:18
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.

2 participants