forked from todogroup/repolinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfixer.json
43 lines (43 loc) · 1.76 KB
/
fixer.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
{
"$schema": "./schema.json",
"version": 2,
"axioms": {
"linguist": "language",
"licensee": "license",
"packagers": "packager"
},
"rules": {
"license-file-exists": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": ["LICENSE*", "COPYING*"],
"nocase": true
}
}
},
"readme-file-exists": {
"level": "error",
"rule": {
"type": "file-existence",
"options": {
"globsAny": ["README*"],
"nocase": true
}
},
"fix": {
"type": "github-issue-create",
"options": {
"issueLabels": ["continuous-compliance", "automated"],
"bypassLabel": "CC: Bypass",
"assignTopCommitter": true,
"issueTitle": "Continuous Compliance - Create a Read-me 👍",
"issueBody": "Hi there 👋, \n Philips tries to make sure that repositories in this organization follow a certain standardization. While reviewing your repository, we could not stop ourselves to further improve this repository! \n \n According to our standards, we think the following can be improved: \n - Add a Read-me file to explain to other people what your repository is about. \n \n We are happy to help you set up a nice Read me, please head over to Slack and we will get you set up. \n Auto-generated issue by Continuous Compliance",
"commentBody": "Hey, it's me, I am back😎. \n We noticed regression on this issue, so we opened and updated it. \n Could you please have a look to see what is going on? \n \n If you want to bypass the check for this rule, attach the 'CC: Bypass' label. \n Thanks!",
"uniqueRuleId": "89b2a899-0fab-423c-99b9-ed88d958f19d"
}
}
}
}
}