Compare commits

...

40 Commits

Author SHA1 Message Date
8438f5cbc9
feat: new hc 2025-06-04 06:58:57 -04:00
dc0807a06b
feat: new hc 2025-06-04 06:38:53 -04:00
122dc8caf8
feat: succeed msg 2025-05-30 18:00:18 -04:00
8d2f5585a1
feat: updated parser 2025-03-01 20:43:55 -05:00
bcaba137c6
chore: new conf version 2025-01-27 22:38:28 -05:00
c8883581fb
chore: new conf version 2025-01-27 21:57:44 -05:00
d1754b0f62
fix: name 2024-11-28 09:33:28 -05:00
b54c707b75
feat: cleaner tips 2024-11-01 07:41:33 -04:00
989a56faa4
feat: move to repo-health-checker 2024-10-21 04:35:56 -04:00
zzjc1234
17c4f0da14 fix: test 2024-10-17 16:15:37 +08:00
zzjc1234
dde38ef61c fix: test 2024-10-17 14:54:18 +08:00
dfd00e2a93
feat: test 2024-10-14 08:03:24 -04:00
cb44983b7d
Added conf.json. 2024-10-13 22:51:07 -04:00
8790cd7f3a
fix: unify comment title level 2024-10-06 07:30:02 -04:00
zzjc1234
c7c905ebcf fix: tag 2024-10-01 17:48:39 +08:00
zzjc1234
f823af12ec fix: tag 2024-10-01 17:44:35 +08:00
b4693716ee
feat: use CopyInDir 2024-09-22 01:21:48 -04:00
3161962adb
feat: use conf.json 2024-09-19 17:07:44 -04:00
5c2cd9e6b3
Added expected.json. 2024-06-20 04:30:09 -04:00
zzjc1234
3a9e737b39 test 2024-06-18 17:27:57 +08:00
zzjc1234
08f4d7d6d1 test 2024-06-18 17:20:05 +08:00
zzjc1234
b962cc8510 feat: markdown style out 2024-06-18 17:18:11 +08:00
zzjc1234
5bdd344fc4 feat: markdown style out 2024-06-18 17:12:57 +08:00
Hydraallen
4f5e444940 fix: exp 2024-05-27 19:42:08 +08:00
zzjc1234
de00486a6a fix: out 2024-05-26 00:32:35 +08:00
zzjc1234
5f6cb1871f fix: out 2024-05-26 00:30:32 +08:00
zzjc1234
7b44cc416b fix: out 2024-05-26 00:29:35 +08:00
zzjc1234
2a7dd6fc3e fix: rm wrong file 2024-05-26 00:17:58 +08:00
zzjc1234
38db53ee1e fix: conf 2024-05-26 00:16:45 +08:00
zzjc1234
2bd7f64fa3 fix: module name 2024-05-11 21:27:17 +08:00
Hydraallen
8141cbb6ae fix: json 2024-05-03 23:30:24 +08:00
Hydraallen
66a5816944 fix: meta 2024-05-03 22:25:00 +08:00
Hydraallen
a2e7680f3d feat: mata 2024-05-03 22:19:47 +08:00
Hydraallen
60bd4d80b0 fix: script 2024-05-03 22:13:27 +08:00
Hydraallen
edff3780a8 fix: script 2024-05-03 22:11:30 +08:00
Hydraallen
ef271dc6f3 feat: bash script 2024-05-03 22:10:19 +08:00
CHHC-L
076445b7c3 feat. config 2024-04-19 16:52:42 +08:00
zzjc1234
ae7d070c45 feat: update result 2024-04-09 23:38:39 +08:00
zzjc1234
c86a94c178 fix: rename file 2024-04-09 23:22:02 +08:00
zzjc1234
c08d20ccd6 feat: test case for repohealth/success 2024-04-09 23:20:15 +08:00
3 changed files with 66 additions and 0 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
**/*
!stderr
!stdout
!*.toml
!*.md
!healthcheck
!*.json
!.git*

57
conf.json Normal file
View File

@ -0,0 +1,57 @@
{
"stage": {
"stages": [
{
"name": "healthcheck",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"/tmp/repo-health-checker",
"-root=.",
"-meta=changelog"
],
"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":0,"comment":"### Repo Size Check Passed\n### Forbidden File Check Passed\n### Meta File Check Failed:\n1 important project file(s) missing:\nNo changelog file found, please refer to https://keepachangelog.com/en/1.1.0/ for more information.\n\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":true}]