forked from 8p/EightPointsGuzzleBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.varci.yml
28 lines (26 loc) · 1.05 KB
/
.varci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ruleset:
broken_links:
name: "Check for broken links in README.md"
events: [ pull_request ]
message: >
@{{ user.login }}, one of the links in the diff did not return an HTTP
status code of 200. Please check for broken links. The first broken link
is: {{ diff_links.broken.0 }}
when:
- action = "opened" or action = "reopened"
- files has "README.md"
- count(diff_links.broken) > 0
description_too_short:
name: "Check length of description"
events: [ issues ]
when: length(body) < 50
reopen: true
message: >
@{{ user.login }}, the issue description is too short. Please reopen it
once you have amended the description to contain more than the requirement
of 50 characters.
remove_label_invalid_on_reopen:
name: "Remove `invalid` label when issues/PRs are reopened"
events: [ issues, pull_request ]
label: -invalid
when: action = "reopened"