-
Notifications
You must be signed in to change notification settings - Fork 20
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
Backport without requiring push permission. #28
Comments
One of the other advantage is that pushing on same-repo was also putting pressure on CI, as both push and PR would trigger it. |
I've switched the default. You can use |
It seems like this still creates the branch on the original repo even though the PR is opened from the @meeseeksmachine account? |
Hum it appears you are right. I just completely removed the old backport code (including removeing |
I want to upgrade Mr. Meeseeks to not require push-permissions to repositories for many reason:
backport-pr-XXX-to-YYYY
.Thus I've created a meeseeksmachine GitHub Machine account it's like a personal account but have no human activity. With the creds of this account, I can fork, and make cross-organisation PRs, which Mr Meeseks couldn't do before due to GitHub limitation..
Using the new
safe_backport
, Mr Meeseeks can now backport without touching the target repository. The backport PR is created by, and come from the @meeseeksmachine account, like in this PR, @meeseeksdev is still responsible for the rest.if you want to try it now
Change
backport
tosafe_backport
and report any potential bugs.In the future I'll switch the
backport
to use the new mechanism, and remove the requirement for push permission.The text was updated successfully, but these errors were encountered: