Sign inSign up

bottlecapdave/github-pull-request-reminder

By bottlecapdave

•Updated 4 months ago

Sends pull request reminders for given GitHub repos to set slack channels

Image
Developer tools
0

1.6K

bottlecapdave/github-pull-request-reminder repository overview

⁠GitHub Merge Request Reminder

Docker Image Version (latest semver)

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.

⁠Environment Variables

VariableDetailsExample Values
GITHUB_ACCESS_TOKENThe access token for the GitHub repository.
GITHUB_REPOSThe GitHub repos the pull requests are for. This should be comma separated.bottlecapdave/github-pull-request-reminder,bottlecapdave/gitlab-merge-request-reminder
INCLUDE_WIPDetermines if work in progress pull requests should be included. This is true by default.true or false
INCLUDE_DRAFTDetermines if draft pull requests should be included. This is true by default.true or false
GITHUB_MANDATORY_LABELSThe 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_LABELSThe 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_URLThe URL of the slack incoming webhook to send the notification to.
SLACK_TARGETThe target of the slack message. This is @here by default.@here

⁠Docker

This is available as a docker image, available on docker hub⁠.

⁠Example Uses

Because the logic is within a docker image, it can be run in a variety of places. Below I'll document examples of use.

⁠GitHub Action

This is available as a GitHub action⁠.

⁠Build

You can run npm run docker-build to build a local docker image, which can then be run locally.

⁠Releases

To release a new version, merge into main. The github CI will then create a release based on the commitizen messages.

⁠Sponsorships

If you find this useful, please consider a one time or monthly GitHub sponsorship⁠.

Tag summary

Content type

Image

Digest

sha256:5146138ac…

Size

407.4 MB

Last updated

4 months ago

docker pull bottlecapdave/github-pull-request-reminder