hub
hub copied to clipboard
request: post-pull-request hook
I'd love to have a hook that fires after the successful creation of a pull request. My use case: setting a per-branch config variable prbranch=<the triggering pr's base branch>
, which could be used to decorate my prompt to tell me "a PR was opened for this branch, and it hasn't been merged".
I imagine this would be made possible by some of the same work as #1179
(This would get stuck on closed-but-not-merged PRs, so even better would be a way for hub to query for PR info and store it somewhere. That's a much bigger request, and I don't know if it's in the hub scope)
Thanks for explaining! This is a worthwhile feature idea. I will leave open until we can figure out how to fit this on our roadmap.
Ola información xfavor son nueva en esto
Adding a +1 on this one. It is the only thing missing to automate one of my process. Has this idea been scoped / planned ?