feat(gh-action): create workflow for automatize stable-main creation#69
Merged
Conversation
This PR is intended to add as functionality a workflow call that will:
- Create a `stable-main-{release}` branch
- Run the script that will ensure the branch will from a known good
state and will take specific files from the stable branch
- Create a PR against `main`
To accept as input the semver from the repo
Contributor
|
Can you show how this was tested? |
Contributor
Author
@Qbandev it's documented into the ticket: As I already did a bunch of tests, I'll paste in the description the latest ones, but more info about the tests I made can be found there. |
Qbandev
approved these changes
May 16, 2025
makemesteaks
approved these changes
May 16, 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.
This PR is intended to add as functionality a workflow call that will:
stable-main-{release}branchmainExamples made on a forked metamask-mobile repo:
https://github.com/MetaMask/experimental-metamask-mobile-dso-tests/actions/runs/15068855926
Summary
This file (
stable-sync.js) is a script that synchronizes changes between themainandstablebranches. Here's a breakdown of what it does:Branch Management:
Synchronization Process:
File Preservation:
Preserves specific files from the stable branch:
This ensures that version numbers and build configurations from the stable branch are maintained
Commit and Push:
Error Handling:
This script is part of MetaMask's release management process, helping to maintain consistency between the main and stable branches while preserving important configuration files.