-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathgitrules.json
30 lines (30 loc) · 923 Bytes
/
gitrules.json
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
29
30
{
"setup-files": [],
"rules": [
{
"rule": "file-contains-in-head",
"path": "files/employees.txt",
"contents": "delmonte",
"ignore-case": true,
"failure-message": "Did you change employees.txt and commit your changes?",
"alternative-title": "employees.txt contains 'Manfred'",
"score-if-correct": 10
},
{
"rule": "file-contains-in-head",
"path": "files/products.txt",
"contents": "peaches",
"ignore-case": true,
"failure-message": "Did you change products.txt and commit your changes?",
"alternative-title": "products.txt contains 'Peaches'",
"score-if-correct": 10
},
{
"rule": "any-commit-message-contains",
"contents": "Manfred and Peaches",
"ignore-case": true,
"alternative-title": "A commit was made with the message 'Add Manfred and Peaches'",
"score-if-correct": 10
}
]
}