This commit is contained in:
zzjc1234 2024-05-26 01:36:26 +08:00
parent 43ed3b9fd3
commit 95bd903b1e
2 changed files with 10 additions and 50 deletions

0
README.md Normal file
View File

View File

@ -1,51 +1,11 @@
[ [
{ {
"name of check": "RepoSize", "name": "healthcheck",
"stdout": "Checking repository size: OK", "results": [
"exit code": 0, {
"stderr": "", "score": 0,
"errorLog": null "comment": "[{\"name of check\":\"RepoSize\",\"stdout\":\"Checking repository size: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null},{\"name of check\":\"forbiddenFile\",\"stdout\":\"Checking forbidden files: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null},{\"name of check\":\"metaFile\",\"stdout\":\"Checking the existence of meta file: Failed\",\"exit code\":104,\"stderr\":\"1 important project files missing\\n\\tno readme\\.* file found, please refer to https://www.makeareadme.com/ for more information\\n\",\"errorLog\":null},{\"name of check\":\"NonAsciiFiles\",\"stdout\":\"Checking for non-ascii files: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null},{\"name of check\":\"NonAsciiMsg\",\"stdout\":\"Checking for non-ASCII characters in commit message: Failed\",\"exit code\":105,\"stderr\":\"Non-ASCII characters in commit messages:\\n测试\\n\\n测试\\n\",\"errorLog\":null}]"
}, }
{ ]
"name of check": "forbiddenFile", }
"stdout": "Checking forbidden files: Failed",
"exit code": 101,
"stderr": "103the following forbidden files were found: examples/healthcheck/asciimsg/conf.toml, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/asciimsg/conf.toml ; do git filter-repo --force --invert-paths --path \\\"\\$i\\\"; done\ngit remote add origin \ngit push --set-upstream origin --force",
"errorLog": null
},
{
"name of check": "metaFile",
"stdout": "Checking the existence of meta file: OK",
"exit code": 0,
"stderr": "",
"errorLog": null
},
{
"name of check": "NonAsciiFiles",
"stdout": "Checking for non-ascii files: Failed",
"exit code": 105,
"stderr": "Non-ASCII characters found in the following files:\n\texamples/healthcheck/asciimsg/nonascii.txt",
"errorLog": null
},
{
"name of check": "NonAsciiMsg",
"stdout": "Checking for non-ASCII characters in commit message: OK",
"exit code": 0,
"stderr": "",
"errorLog": null
},
{
"name of check": "ReleaseCheck",
"stdout": "Failed",
"exit code": 107,
"stderr": "wrong release tag, please use one of aborting",
"errorLog": null
},
{
"name of check": "verifyFile",
"stdout": "Checking files to be verified: FailedFailedFailedFailedFailed!",
"exit code": 101,
"stderr": "File missingFile missingFile missingFile missing",
"errorLog": null
}
] ]