| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Simple tool to notify on PRs waiting for reviews.
The following env variables are required for proper authentication.
Slack app:
Github app:
Config example:
github_pr_notifications:
- gh_owner: my-org
gh_repo: my-repo-1
gh_pr_labels:
- enhancement
gh_pr_include_drafts: true
gh_pr_ignore_approved: true
gh_pr_ignore_changes_requested: true
# Mon-Fri every 2 hours during business hours
schedule: "CRON_TZ=Europe/Berlin 00 10-18/2 * * 1-5"
notify:
slack:
channel_id: "ABC123000"
message_header: ":warning: Please review at your earliest convenience @some-group-handle"
- gh_owner: my-org
gh_repo: my-repo-2
gh_pr_labels: []
# Mon-Fri every 30 hours during business hours
schedule: "CRON_TZ=Europe/Berlin */30 10-18 * * 1-5"
notify:
slack:
channel_id: "DEF456000"
message_header: ":warning: Please review at your earliest convenience @some-group-handle"Build an image:
docker build . --tag pr-notify:latestPrepare env variables in .env file and run the image:
docker run --rm -it --env GITHUB_APP_PRIVATE_KEY="$(cat /path/pr-notify.private-key.pem)" \
--env-file .env -v .config.yaml:/etc/pr-notify.yaml pr-notify:latest \
-logtostderr -v 8| Back | FazBrowse Home | New Git URL |