Cherry Pick Pull request #166570
|
I have a scenario where I have 2 branches, main and a next release branch that both require pull requests. The process is there is a set of approvers that approve and merge to main and a different set of approvers for the next release(QA team). In TFS I had the ability after approving the first pull request to main to cherry pick the net changes and it would create the branch and pull request for the next release branch with just one click. I can use GitHub Desktop to do the process manually now, but wanted to know if there is a better way of doing this in GitHub, open to even using Actions is it is possible |
Replies: 1 comment 2 replies
|
Yes, what you're aiming to do is definitely possible using GitHub Actions, and it's a common pattern in release workflows. 🔄 Scenario RecapYou want to:
✅ How to Achieve ThisYou can use GitHub Actions triggered on
This simulates the TFS behavior you mentioned, but fully automated. 🛠️ Tools & Actions to Use
|
Here's a minimal working example GitHub Action workflow that does exactly what you're trying to do: