Repository navigation
feat(merge-approved-pr): update approval checks (MCRM-186) - #324
Merged
Merged
Conversation
…pository, accept Mobile version files Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
8 of 10 tasks
…pproval-to-head Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # CHANGELOG.md
tommasini
marked this pull request as ready for review
November 16, 2026 16:58
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.
Description
Details are tracked internally in MCRM-186.
Note
Medium Risk
Changes release automation merge gates and version-bump rules; misconfiguration could block legitimate release PRs, but the intent is tighter safety on auto-merge paths.
Overview
Hardens
merge-approved-prso automated merges only run under stricter, commit-pinned conditions. PR heads must come from the same repository (forks are rejected), release-team approval must target the current head SHA (stale approvals after new pushes no longer qualify), and the final merge passesshaso GitHub aborts if the branch moves during the workflow.When
verify-version-bumpis enabled, validation still requires apackage.jsonversionchange but now also allows optional Mobile native version lines (versionNameinandroid/app/build.gradle,MARKETING_VERSIONinios/MetaMask.xcodeproj/project.pbxproj). Every changed file must be one of those paths, only version lines may differ, and all files must bump from the same old version to the same new valid semver increment.CHANGELOG.mddocuments these behavioral changes under Unreleased.Reviewed by Cursor Bugbot for commit f7f781e. Bugbot is set up for automated code reviews on this repo. Configure here.