A bot that checks Pull Requests and posts them to slack.
- Can be scheduled to run at a regular interval
- One slack post per Pull Request
- Ignores PRs in draft mode
- Posts are concise but contain useful information
- Author
- Title
- Link to Pull Request
- First sentence of description
- Number of comments
- Number of files changed
- Time of last update
- Link to clubhouse card
SLACK_CHANNEL
- The name of the Slack channel to post to. e.g.
todo
SLACK_WEBHOOK
- The incoming webhook URL for your slack channel
GITHUB_ORG
- The name of your github organization. e.g.
mishguruorg
GITHUB_TOKEN
- Your Github API token
CLUBHOUSE_ACCOUNT
- Your clubhouse account e.g.
mishguru
SCHEDULE
- (optional) A cron job format, used to run at regular intervals. e.g.
0 7 * * 1-5
docker run -it --rm --name gitguru \
-e "SLACK_CHANNEL=dev-todo" \
-e "SLACK_WEBHOOK=https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e "GITHUB_ORG=mishguruorg" \
-e "GITHUB_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e "CLUBHOUSE_ACCOUNT=mishguru" \
-e "SCHEDULE=0 7 * * 1-5" \
mishguru/gitguru:latest