This commit is contained in:
zzjc1234 2024-05-26 01:21:08 +08:00
parent fbc6a20e6e
commit abfe973e94

View File

@ -1,37 +1,11 @@
[
{
"name of check": "RepoSize",
"stdout": "Checking repository size: OK",
"exit code": 0,
"stderr": "",
"errorLog": null
},
{
"name of check": "forbiddenFile",
"stdout": "Checking forbidden files: Failed",
"exit code": 101,
"stderr": "103the following forbidden files were found: examples/healthcheck/asciifile/conf.toml, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/asciifile/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/asciifile/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": "healthcheck",
"results": [
{
"score": 0,
"comment": "[{\"name of check\":\"RepoSize\",\"stdout\":\"Checking repository size: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null},{\"name of check\":\"forbiddenFile\",\"stdout\":\"Checking forbidden files: Failed\",\"exit code\":103,\"stderr\":\"103the following forbidden files were found: conf.toml, healthcheck, stderr, stdout, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in conf.toml healthcheck stderr stdout ; 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\tnonascii.txt\",\"errorLog\":null},{\"name of check\":\"NonAsciiMsg\",\"stdout\":\"Checking for non-ASCII characters in commit message: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null}]"
}
]
}
]