-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into ts-log-web3-shim-usage
- Loading branch information
Showing
2,280 changed files
with
195,550 additions
and
62,411 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
set -u | ||
set -o pipefail | ||
|
||
# Takes in 3 args | ||
# - 1 - Base PR Branch Name | ||
# - 2 - Commit Hash | ||
# - 3 - PR Number | ||
|
||
BASE_PR_BRANCH_NAME="${1}" | ||
COMMIT_HASH_TO_CHERRY_PICK="${2}" | ||
PR_BRANCH_NAME="chore/cherry-pick-${3}" | ||
PR_TITLE="chore: cherry-pick #${3}" | ||
PR_BODY="This PR cherry-picks #${3}" | ||
|
||
git config user.name "MetaMask Bot" | ||
git config user.email "metamaskbot@users.noreply.github.com" | ||
|
||
git checkout "${BASE_PR_BRANCH_NAME}" | ||
git pull | ||
git checkout -b "${PR_BRANCH_NAME}" | ||
git cherry-pick "${COMMIT_HASH_TO_CHERRY_PICK}" | ||
|
||
git push --set-upstream origin "${PR_BRANCH_NAME}" | ||
|
||
gh pr create \ | ||
--draft \ | ||
--title "${PR_TITLE}" \ | ||
--body "${PR_BODY}" \ | ||
--head "${BASE_PR_BRANCH_NAME}" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Validating CODEOWNERS rules …
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.