Compare commits

...

51 Commits

Author SHA1 Message Date
ae383b22df
feat: 测试 2025-06-04 06:57:13 -04:00
a848b1ca7e
feat: 测试 2025-06-04 06:38:53 -04:00
41e57b6968
feat: 测试 2025-05-30 17:57:16 -04:00
95d2c1ba5e
feat: 测试 2025-01-27 22:38:34 -05:00
290fda270b
chore: new conf version 2025-01-27 22:38:28 -05:00
aa593eb4c4
feat: 测试 2025-01-27 21:58:16 -05:00
f4b7776bf9
chore: new conf version 2025-01-27 21:57:44 -05:00
dd1fabc81b
feat: 测试 2024-10-21 04:39:01 -04:00
3949d5ac4a
feat: move to repo-health-checker 2024-10-21 04:35:56 -04:00
zzjc1234
ec50dd1ed5 feat: 测试 2024-10-17 16:09:59 +08:00
zzjc1234
96cbec4ec5 feat: 测试 2024-10-17 16:07:53 +08:00
zzjc1234
9b954cf67d feat: 测试 2024-10-17 15:35:19 +08:00
55bf75058f
feat: 测试 2024-10-14 08:06:00 -04:00
f6cf5baa9c
feat: 测试 2024-10-14 08:04:32 -04:00
56231eb54f
feat: test 2024-10-14 08:03:24 -04:00
47b6d0f3e8
测试 2024-10-13 22:56:32 -04:00
1769b315cb
Added conf.json. 2024-10-13 22:51:07 -04:00
3dc44926b2
测试 2024-10-06 07:29:33 -04:00
zzjc1234
1e1d152659 测试 2024-10-01 17:49:55 +08:00
ffd9ab13c7
测试 2024-09-22 01:33:39 -04:00
zzjc1234
7243dab3d5
测试 2024-09-22 01:21:32 -04:00
zzjc1234
6000b9be99 tmp 2024-09-20 09:24:29 +08:00
415ab7e9d8
feat: use conf.json 2024-09-19 17:07:44 -04:00
d303867e62
fix: expected 2024-09-15 08:24:31 -04:00
36bb5fb15f
Added expected.json. 2024-06-20 04:30:09 -04:00
zzjc1234
52c9787a8a feat: markdown style out 2024-06-18 17:01:06 +08:00
Hydraallen
e9ed6a464a fix: exp 2024-05-27 19:36:55 +08:00
zzjc1234
7c72b0b787 fix: out 2024-05-26 01:39:11 +08:00
zzjc1234
95bd903b1e fix: out 2024-05-26 01:36:38 +08:00
zzjc1234
43ed3b9fd3 fix: rm wrong file 2024-05-26 01:31:49 +08:00
zzjc1234
7d044683e3 测试 2024-05-26 01:31:24 +08:00
zzjc1234
cdea4627b2 fix: out 2024-05-26 01:29:36 +08:00
Hydraallen
f55009d627 fix: json 2024-05-03 23:33:37 +08:00
Hydraallen
d120f5e45a feat: json 2024-05-03 22:02:40 +08:00
Hydraallen
8dc49f5fd9 fix: json 2024-05-03 21:22:19 +08:00
Hydraallen
d900d8c578 fix: cond 2024-05-03 20:45:47 +08:00
Hydraallen
5d0deb326a fix: conf 2024-05-03 20:44:08 +08:00
Hydraallen
bfb4c5b439 feat: test 2024-05-03 20:40:19 +08:00
Hydraallen
dd1a7060ae fix: script 2024-05-03 20:37:17 +08:00
Hydraallen
e94a335255 fix: json 2024-05-03 20:19:01 +08:00
Hydraallen
5e57f25404 fix: conf 2024-05-03 20:07:55 +08:00
Hydraallen
9feb9fc475 fix: bash script 2024-05-03 19:38:42 +08:00
Hydraallen
7edfd830a9 feat. nonascii test 2024-05-03 19:37:35 +08:00
Hydraallen
7d145c4172 fix: json format 2024-05-03 17:51:37 +08:00
Hydraallen
77fda15419 fix: whitelist input 2024-05-03 17:43:05 +08:00
CHHC-L
1f77a9128d feat. config 2024-04-13 00:42:43 +08:00
zzjc1234
dc13cbecb0 feat: expected out for asciifile check 2024-04-10 19:06:36 +08:00
zzjc1234
263f2e6387 feat: bash script for ascii file 2024-04-10 18:57:08 +08:00
zzjc1234
c5dae447eb fix: regex issue 2024-04-09 23:30:25 +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
4 changed files with 58 additions and 3 deletions

0
.gitignore vendored Normal file
View File

View File

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

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=readme"
],
"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 Passed\n### Non-ASCII Characters File Check Failed:\nNon-ASCII characters found in the following files:\n\texpected.json\n### Non-ASCII Characters Commit Message Check Failed:\nNon-ASCII characters in commit messages:\nfeat: 测试\n\n### Repo File Check Passed\n### Author Email Check Passed\n"}],"force_quit":true}]