Conversation
With these changes, you can post a comment in a PR with the content `@metamaskbot publish-preview`, and it will build the branch and publish it under the `@metamask-previews` under a special version. This works very similarly to how it works in `core`.
cryptodev-2s
approved these changes
Oct 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With these changes, you can post a comment in a PR with the content
@metamaskbot publish-preview, and it will build the branch and publish it under the@metamask-previewsunder a special version. This works very similarly to how it works incore.Note
Adds a comment-triggered GitHub Action to publish preview builds to the @metamask-previews scope, plus supporting scripts and documentation.
/.github/workflows/publish-preview.ymlto publish preview builds when a PR comment starts with@metamaskbot publish-preview.--tag preview, and posts a comment with details.scripts/prepare-preview-builds.shandscripts/prepare-preview-builds.jq: rewritepackage.jsonto use@metamask-previewsscope and append short commit SHA to the-preview-prerelease version; reinstall deps.scripts/generate-preview-build-message.sh: outputs the preview install identifier for PR comment.README.md: remove Linking section and add instructions for creating, using, and updating preview builds with resolution/override examples.Written by Cursor Bugbot for commit 4d971dc. This will update automatically on new commits. Configure here.