This project is no longer maintained or available via pip. While somewhat interesting, we decided most of the functionality we wanted this for gets too specific and are better off being single-purpose scripts or command-line tools. An example is here: https://github.com/dropseed/github-org-update-file
sweep
A CLI for responding to and merging pull requests.
Installation
pip install sweep
Usage
sweep <organization slug>
Hooks
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)