fix: release

This commit is contained in:
Hydraallen 2024-05-27 00:26:01 +08:00
parent c59b32808e
commit d46f13de4b
2 changed files with 12 additions and 51 deletions

View File

@ -22,7 +22,7 @@ max = 4_096
name = "stderr" name = "stderr"
max = 4_096 max = 4_096
[stages.parser] [stages.parser]
name = "repohealth" name = "healthcheck"
[stages.parser.with] [stages.parser.with]
score = 10 score = 10
comment = " + comment from toml conf" comment = " + comment from toml conf"

View File

@ -1,51 +1,12 @@
[ [
{ {
"name of check": "RepoSize", "name": "healthcheck",
"stdout": "Checking repository size: OK", "results": [
"exit code": 0,
"stderr": "",
"errorLog": null
},
{ {
"name of check": "forbiddenFile", "score": 0,
"stdout": "Checking forbidden files: Failed", "comment": ""
"exit code": 101, }
"stderr": "103the following forbidden files were found: examples/healthcheck/release/.git, examples/healthcheck/release/README.md, examples/healthcheck/release/conf.toml, examples/healthcheck/release/expected.json, examples/healthcheck/release/stdin.sh, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/release/.git examples/healthcheck/release/README.md examples/healthcheck/release/conf.toml examples/healthcheck/release/expected.json examples/healthcheck/release/stdin.sh ; 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: OK",
"exit code": 0,
"stderr": "",
"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": "Checking release tag: OK",
"exit code": 0,
"stderr": "Fine",
"errorLog": null
},
{
"name of check": "verifyFile",
"stdout": "Checking files to be verified: FailedFailedFailedFailedFailed!",
"exit code": 101,
"stderr": "File is not identicalFile missingFile missingFile missing",
"errorLog": null
} }
] ]