{"repo":"carloscastrojumo/github-cherry-pick-action","free":true,"listed":false,"github":"https://github.com/carloscastrojumo/github-cherry-pick-action","clone":"git clone https://github.com/carloscastrojumo/github-cherry-pick-action.git","description":"GitHub action for cherry pick commits from Pull Requests into Release branchs","language":"TypeScript","stars":61,"topics":["github-actions","pull-requests","github","github-action","cherry-pick"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Cherry-picking a pull request commit into branchs This action is designed to be used for cherry-pick commits from pull requests into release branches. GitHub Cherry Pick Action will: - Checkout triggered action. - Create new branch name cherry-pick-${GITHUB SHA} from branch input. - Cherry-picking ${GITHUB SHA} into created branch - Push new branch to remote - Open pull request to branch NOTE: The GITHUB SHA is taken from the GitHub context, specifically from the merge commit sha attribute of the pull request object. Example Cherry-picking pull requests merged on main to branch release-v1.0 in pull requests labeled with release-v1.0 and to branch release-v2.0 in pull requests labeled with release-v2.0 . Using outputs: Working with forked repositories If you are using this action while working with forked repositories (e.g. when you get pull requests from external contributors), you will have to adapt the trigger to avoid permission problems. In such a case you should use the pull request target trigger, which was introduced by github for this usecase. Example Mor informatoin can be found in the GitHub Blog Action inputs Name Description Default -------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------- token GITHUB TOKEN or a repo ","default_branch":null,"files":null,"tree":[],"storefront":"/r/carloscastrojumo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/carloscastrojumo/github-cherry-pick-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}