-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
💡 How to rebase a pull request? #2
Comments
For many of the teams I oversee, PRs move from in progress, to needs review, to ready to deploy. Often, the person responsible for merging/deploying the PR in RTD can’t do it from the UI because something else was merged to main/master after this PR had been reviewed and approved. The person responsible for the deploy can “fix” this by checking out the PR branch locally, rebasing main/master and force pushing. After that, there are no conflicts and the UI can be used to merge. I’m not sure the best form for this automation to take, but I had imagined it could work like dependabot via a comment trigger (@dependabot rebase). Either triggered by the deploy person or handled more automatically would work great, but I’m not sure if there would be unintentional side effects caused by more automatic means. If a rebase can’t happen cleanly in the comment trigger approach, I figure a reply saying so and indicating manual intervention is required would work. |
That's great, thank you David!
What's RTD? Read the docs? How about we split this into two parts:
That way we you could use the manual trigger with a |
Yeah this sounds perfect! probot looks awesome RTD is "ready to deploy" -- wrote it out before using the acronym but should have been more clear. Sorry to have missed this. Github notifications are something else I need help with 😅 |
haha no worries! There is some prior art for slash commands:
I like Anyway, would you like to colab on this tomorrow 1pm Pacific Time live on https://www.twitch.tv/gregorcodes? |
Happy to collab! I'm available 1:30 - 4pm today (Thursday 5/13) and most of the day tomorrow (Friday 5/14). |
Sounds good! I'll start my stream at 1pm and do some preliminary work, you can join in at 1.30pm and we can see how far we can get it today within an hour max |
done at #13 |
This question came from @davidguttman via Twitter: https://mobile.twitter.com/davidguttman/status/1386374058321743874
I've seen that question came up several times. I know there are existing GitHub Apps and GitHub Actions out there that can rebase open pull requests, but I think the topic comes up often enough to dive into it and explore how it works.
In order to turn this into a show, I think we should
@davidguttman what would be a good use case for yourself? We could set the goal to create an app that folks can install, an action that folks can setup, or a script that folks can use in their custom GitHub Actions workflow. Should it rebase all open pull requests after a push to the default branch, or only a subset? What should it do if it failed to do a rebase?
The text was updated successfully, but these errors were encountered: