From 95a28dae5e3ee55fd744d6f4a5fd5c9833151247 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sat, 27 Sep 2025 01:19:56 -0700 Subject: [PATCH] chore: remove nested fields --- conf.json | 102 ++++++++++++++++++++++++++---------------------------- 1 file changed, 50 insertions(+), 52 deletions(-) diff --git a/conf.json b/conf.json index 461c333..9a4d09c 100644 --- a/conf.json +++ b/conf.json @@ -1,58 +1,56 @@ { - "stage": { - "stages": [ - { - "name": "healthcheck", - "executor": { - "name": "sandbox", - "with": { - "default": { - "args": [ - "/tmp/repo-health-checker", - "-root=.", - "-checkFileNameList=.gitignore,.drone.yml", - "-checkFileSumList=97392a850b161ccf64c1eb108c1c2931f9ce57c8e9bd5b6b1f54d34f82082ddc,52ca5824f38a87aa7c31f10d78611a9ed827c96d1f5a99a55b66f34bc1fe1afe" - ], - "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 + "stages": [ + { + "name": "healthcheck", + "executor": { + "name": "sandbox", + "with": { + "default": { + "args": [ + "/tmp/repo-health-checker", + "-root=.", + "-checkFileNameList=.gitignore,.drone.yml", + "-checkFileSumList=97392a850b161ccf64c1eb108c1c2931f9ce57c8e9bd5b6b1f54d34f82082ddc,52ca5824f38a87aa7c31f10d78611a9ed827c96d1f5a99a55b66f34bc1fe1afe" + ], + "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" - } + } + }, + "parsers": [ + { + "name": "healthcheck", + "with": { + "score": 10, + "comment": " + comment from toml conf" } - ] - } - ] - } + } + ] + } + ] } \ No newline at end of file