-
Notifications
You must be signed in to change notification settings - Fork 13
/
gitrules.json
81 lines (81 loc) · 2.53 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"setup-files": [],
"rules": [
{
"rule": "head-exists",
"stop-on-fail": true
},
{
"rule": "branch-exists",
"branch": "new-location-1",
"score-if-correct": 15,
"alternative-title": "The 'new-location-1' branch has been created."
},
{
"rule": "file-contains-in-branch",
"branch": "new-location-1",
"path": "files/employees.txt",
"contents": "Sunny Rosario",
"ignore-case": true,
"score-if-correct": 10,
"alternative-title": "'Sunny Rosario' was added to the customers file in the new branch."
},
{
"rule": "commit-with-message-was-made-on-branch",
"branch": "new-location-1",
"contents": "add employee sunny",
"ignore-case": true,
"score-if-correct": 10,
"alternative-title": "Changes to the employee file were initially made on the new branch."
},
{
"rule": "commit-with-message-updated-file",
"path": "files/products.txt",
"contents": "add products file",
"ignore-case": true,
"score-if-correct": 10,
"alternative-title": "The products file was committed with the message 'Add Products File'"
},
{
"rule": "commit-with-message-was-made-on-branch",
"branch": "master",
"contents": "Add products file",
"ignore-case": true,
"score-if-correct": 10,
"alternative-title": "Changes to the products file made on the master branch."
},
{
"rule": "file-contains-in-branch",
"branch": "master",
"contents": "bananas",
"path": "files/products.txt",
"ignore-case": true,
"score-if-correct": 10,
"alternative-title": "'Bananas' was added to the products file."
},
{
"rule": "file-tracked-in-branch",
"branch": "new-location-1",
"path": "files/products.txt",
"score-if-correct": 10,
"alternative-title": "The products file was merged into the 'new-location-1' branch."
},
{
"rule": "file-contains-in-branch",
"branch": "master",
"path": "files/employees.txt",
"contents": "Sunny Rosario",
"ignore-case": true,
"score-if-correct": 15,
"alternative-title": "The employees file has been merged into 'master'."
},
{
"rule": "commit-with-message-was-merged-into-branch",
"branch": "master",
"contents": "Add products file",
"ignore-case": true,
"score-if-correct": 10,
"alternative-title": "The commit that added Sunny to the employees file has been merged into the 'master' branch"
}
]
}