Last active
November 5, 2021 14:47
-
-
Save Brend-Smits/385824d3422c0c06323bb1412cd5ba96 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"$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 | |
} | |
}, | |
"fix": { | |
"type": "github-issue-create", | |
"options": { | |
"issueLabels": [ | |
"continuous-compliance", | |
"automated" | |
], | |
"bypassLabel": "CC: Bypass", | |
"issueTitle": "Continuous Compliance - Create a License ๐", | |
"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-91231329b9-ed88d958f19d" | |
} | |
} | |
}, | |
"workflow-runs-on-ubuntu": { | |
"level": "warning", | |
"rule": { | |
"type": "file-not-contents", | |
"options": { | |
"globsAll": [ | |
".github/workflows/*.yml", | |
".github/workflows/*.yaml" | |
], | |
"nocase": true, | |
"flags": "i", | |
"content": "runs-on: ubuntu-latest" | |
} | |
} | |
}, | |
"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", | |
"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" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment