Skip to content

A simple service that sends slack notifications if a pull request still open after X days

License

Notifications You must be signed in to change notification settings

siilas/pull-request-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pull Request Notifier

A simple service that sends slack notifications if a pull request still open after X days.

What it really does?

It gets the opened pull requests from a GitHub repository and send a Slack notification to a channel. But just if the pull request still open after a predefined number of days.

Configuration

You need to set these environment variables:

  • REPO_OWNER - The repository owner
  • REPO_NAME - The repository name
  • DAYS_TO_NOTIFY - Minimum number of days an pull request needs to be open to send notifications
  • SLACK_CHANNEL_ID - Slack channel that will receive the notification
  • SLACK_TOKEN - Slack authorization token

How to run

Just execute:

python3 main.py

About

A simple service that sends slack notifications if a pull request still open after X days

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages