Compare commits

...

3 Commits

5 changed files with 59 additions and 3 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
nonascii.txt text

View File

@ -1,3 +0,0 @@
# JOJ3 examples
Check other branches.

56
conf.json Normal file
View File

@ -0,0 +1,56 @@
{
"stages": [
{
"name": "healthcheck",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"/tmp/repo-health-checker",
"-root=.",
"-allowedDomainList=outlook.com",
"-whitelistedChars=\u6d4b"
],
"env": [
"PATH=/usr/bin:/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyIn": {
"/tmp/repo-health-checker": {
"src": "./../../../../../../build/repo-health-checker"
}
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
}
}
}
},
"parsers": [
{
"name": "healthcheck",
"with": {
"score": 10,
"comment": " + comment from toml conf"
}
}
]
}
]
}

1
expected.json Normal file
View File

@ -0,0 +1 @@
[{"name":"healthcheck","results":[{"score":10,"comment":"### Repo Size Check Passed\n### Repo LFS Check Passed\n### Forbidden File Check Passed\n### Meta File Check Passed\n### Non-ASCII Characters File Check Passed\n### Non-ASCII Characters Commit Message Check Passed\n### Repo File Check Passed\n### Author Email Check Passed\n"}],"force_quit":false}]

1
nonascii.txt Normal file
View File

@ -0,0 +1 @@
Allowed non-ASCII: 测