mislav / hub

A command-line tool that makes git easier to use with GitHub.
https://hub.github.com/
MIT License
22.84k stars 2.2k forks source link

request: post-pull-request hook #1683

Open olets opened 6 years ago

olets commented 6 years ago

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)

mislav commented 6 years ago

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.

Roo77 commented 5 years ago

Ola información xfavor son nueva en esto

dacloutier-logmein commented 3 years ago

Adding a +1 on this one. It is the only thing missing to automate one of my process. Has this idea been scoped / planned ?