Sends pull request reminders for given GitHub repos to set slack channels
1.6K
Sends a notification to a Slack webhook highlighting open pull requests for a given GitHub repository. If no pull requests are open, then no notification will be sent.
| Variable | Details | Example Values |
|---|---|---|
| GITHUB_ACCESS_TOKEN | The access token for the GitHub repository. | |
| GITHUB_REPOS | The GitHub repos the pull requests are for. This should be comma separated. | bottlecapdave/github-pull-request-reminder,bottlecapdave/gitlab-merge-request-reminder |
| INCLUDE_WIP | Determines if work in progress pull requests should be included. This is true by default. | true or false |
| INCLUDE_DRAFT | Determines if draft pull requests should be included. This is true by default. | true or false |
| GITHUB_MANDATORY_LABELS | The labels that pull requests must have assigned to them. All labels must be present. This should be comma separated. | mandatory-label-1,mandatory-label-2 |
| GITHUB_EXCLUDED_LABELS | The labels that pull requests must not have assigned to them. Any label must be present for the merge request to be ignored. This should be comma separated. | excluded-label-1,excluded-label-2 |
| SLACK_WEBHOOK_URL | The URL of the slack incoming webhook to send the notification to. | |
| SLACK_TARGET | The target of the slack message. This is @here by default. | @here |
This is available as a docker image, available on docker hub.
Because the logic is within a docker image, it can be run in a variety of places. Below I'll document examples of use.
This is available as a GitHub action.
You can run npm run docker-build to build a local docker image, which can then be run locally.
To release a new version, merge into main. The github CI will then create a release based on the commitizen messages.
If you find this useful, please consider a one time or monthly GitHub sponsorship.
Content type
Image
Digest
sha256:5146138ac…
Size
407.4 MB
Last updated
4 months ago
docker pull bottlecapdave/github-pull-request-reminder