Notify Slack of a review of Pull Requests in the GitHub repository.
Project description
github-pr-slack-reminder
Notify Slack of a review of Pull Requests in the GitHub repository.
Environments
- Python 3.7 or later
- poetry
Usage
pip install gs-reminder
gs-reminder -r nnsnodnb/github-pr-slack-reminder -u examples/username.json --icon
Environment variables
GITHUB_TOKEN
- Required
- Your GitHub Personal Access Token.
SLACK_URL
- Required
- Incoming webhook's url of Slack app.
Options
-
--repo
or-r
- Required
- Your GitHub repository name. (ex.
nnsnodnb/github-pr-slack-reminder
)
-
--file-username
or-u
- Optional
- Corresponding files for GitHub and Slack usernames. (ex.
examples/username.json
)[ { "github": "nnsnodnb", "slack": "yuya.oka" } ]
-
--limit
or-l
- Optional
- Number of Pull Requests to notify Slack. Max: 20 (default: 20)
-
--icon
or-i
- Optional
- Give GitHub icons to Slack notifications.
Example Result
License
This software is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gs-reminder-0.3.3.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for gs_reminder-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c756a92e3042017b98632501eb96eb16d9d8f7fca03d4a83836496215009f263 |
|
MD5 | 48ac8f445ec76cfdb93e98b2c29ca586 |
|
BLAKE2b-256 | 1123fdaaa765ff4d8a59036ede06bad7fa2a418ccb2013a1dec756890c8cc08a |