This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* GitHub webhook handler template. | |
* | |
* @see https://developer.github.com/webhooks/ | |
* @author Miloslav Hůla (https://github.com/milo) | |
* @author Jad Bitar (https://github.com/jadb) | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruleset: | |
one_suggestion: | |
name: "a single suggestion / PR" | |
events: [ pull_request ] | |
message: > | |
@{{ user.login }}, please only add one suggestion per PR. | |
when: | |
- action = "opened" or action = "reopened" | |
- additions > 1 | |
- files has "README.md" |
OlderNewer