A GitHub App built with Probot that Take actions based on size of pull request
Default config:
# Condition for triggering the check, Maximum allowed change -> (additions - deletions)
maxChange: 1000
# Message if the PR exceeds the threshold
message: "FYI: The PR changes have exceeded configured threshold"
# Close the PR if the change is more than threshold?
close: true
# Bot will ignore the PR if these words are present in title
safeWords:
- ruler-ignore
- wip
- draft
# Install dependencies
npm install
# Run the bot
npm start
# 1. Build container
docker build -t ruler-bot .
# 2. Start container
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> ruler-bot
If you have suggestions for how ruler-bot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
Icons made by Freepik from www.flaticon.com
ISC © 2021 Arjun Komath arjun@hey.com