c0fe3ec18f | ||
---|---|---|
.. | ||
bin | ||
README.md | ||
package.json |
README.md
Cherry Pick
A tool to automate cherry picking fixes into a release.
Prerequisite
You will need to set two environment variable:
- GITHUB_CHERRY_PICK_TOKEN - Generate a personal access token from GitHub and make sure it has the
Repo
scope. Assign this token to the environment variable. - GITHUB_REMOTE_URL - Depending on if you use
https
orssh
when you usegit clone
. Set the valuehttps
orssh
to that environment variable.
Usage
Usage: pnpm cherry-pick <release_branch> <pull_request_number>
. Separate pull request numbers with a comma (no space) if more than one.