-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
ππ» Slash commands & rebasing pull requests
π
Thursday, May 13th, 2021
π 1pm US Pacific Time (in your timezone)
ποΈ with @davidguttman
π·οΈ Actions
Subscribe to this issues to get a notification before the show begins and a summary after the show concludes.
Slash commands & rebasing pull request
Is there something that will easily rebase a PR against main? I think dependabot can do this if you tag it on its PRs
This is a follow up to the idea posted at #2.
What we want to try to achive in this show is to use a slash command /rebase
in a pull request comment to trigger a rebase, powered by GitHub Actions.
Basically what we want to build is https://github.com/marketplace/actions/automatic-rebase, but with @octokit, and we want to separate the slash commands from the actual rebase.
Outline
@davidguttman will join after around 30 minutes. So I'll spend the first 30 minutes looking at existing solutions, trying them out and going through their code. Once David joins, we will implement a /rebase
slash command powered pull request rebase solution that fits his needs.
- Research of existing solutions
- Once David joins: introducion
- Slash commands
- Create a hello world slash command
- Rebase pull request using GitHub Action
Recording
Shownotes
- js.la - the Los Angeles JavaScript meeting that David is hosting
- Junior to Senior - A podcast show by David
- We looked through these actions:
- GitHub Action to send any GitHub REST API request: https://github.com/octokit/request-action/. We used it to create a comment in case the rebase failed
- @xt0rted found an issue about @dependabot and how they do rebases, as we talked with David about better rebasing at the end of the show. Thank you!