Notify Slack of a review of Pull Requests in the GitHub repository.
Project description
gs-reminder
Notify Slack of a review of Pull Requests in the GitHub repository.
Environments
- Python 3.8 or later
- poetry
Usage
pip install gs-reminder
gs-reminder -r nnsnodnb/gs-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/gs-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.
-
--exclude-users
or-eu
- Optional
- GitHub users to remove from reviewers upon notification.
-eu nnsnodnb # this name is GitHub username
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.5.2.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file gs_reminder-0.5.2.tar.gz
.
File metadata
- Download URL: gs_reminder-0.5.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.8.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3581f0bb69b925a4cdebe3fedf9e0b02f28b6a7a6ed49d101a001add8af9e0 |
|
MD5 | a09c2ef7fbc644f21e10618ab0230a3a |
|
BLAKE2b-256 | add48a47503472def15b559da73d10fc2887ae438b5705eb5b4d70009f9fcade |
File details
Details for the file gs_reminder-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: gs_reminder-0.5.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.8.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fbbbae32d12e6fc3da623d34696e932a4c6fb7f40aed9919d293f25bc7cedbb |
|
MD5 | f9a60c229127337e5069184085ab89dc |
|
BLAKE2b-256 | 33d00a3969bfd5f2fa11c97f7d81ffe8490d5172caae1921d2990d2923dac409 |