Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add backport action #341

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carlosthe19916
Copy link
Member

solves #336

Any PR that needs to be backported to the branch release/0.2.z need to add the label "backport release/0.2.z" manually, then a backport PR should be created by gh actions.

I tested it in my own account see:

@carlosthe19916
Copy link
Member Author

The downside of this approach is that Github Actions on the backported PR won't run because a PR opened by github itself cannot trigger the actions. The solution to that is that each time the backport PR is opened, the reviewer Opens and closes the PR again to trigger the actions. See https://github.com/orgs/community/discussions/55906

Copy link
Collaborator

@gildub gildub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having to manually intervene defeats the purpose of the automation but that's much faster than to create the backport itself and it will eventually go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants