Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration file for ProBot Mergeable Bot #5132

Merged
merged 1 commit into from
Jan 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/mergeable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# ProBot Mergeable Bot
# https://github.com/jusx/mergeable

mergeable:
pull_requests:
approvals:
# Minimum of approvals needed.
min: 1
message: 'The PR must have a minimum of 1 approvals.'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be done with GitHub I believe

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe. Although, if we are going to use mergeable, I prefer to have all the configs in the same place.


description:
no_empty:
# Do not allow empty descriptions on PR.
enabled: false
message: 'Description can not be empty.'

must_exclude:
# Do not allow 'DO NOT MERGE' phrase on PR's description.
regex: 'DO NOT MERGE'
message: 'Description says that the PR should not be merged yet.'

# Do not allow 'WIP' on PR's title.
title: 'WIP'

label:
# Do not allow PR with label 'PR: work in progress'
must_exclude: 'PR: work in progress'
message: 'This PR is work in progress.'