A CLI for responding to and merging pull requests.
pip install sweep
sweep <organization slug>
There are several places where a user can run a custom script as a part of their
process (i.e. deploying after a merge). Put an executable script matching the
name of the hook at
~/.sweep/hooks/<hook_name>. Each hook will also
receive a set of arguments, which you can use in your script.
post_merge- runs right after a successful merge
- repo name
- PR number
- repo full name (owner/repo)