From c7a22cfe3e3f051e26fb997901e9cfec8f90af36 Mon Sep 17 00:00:00 2001 From: Rajendra Reddy Date: Sat, 28 Mar 2026 03:47:19 +0000 Subject: [PATCH] Update .gitea/workflows/codeant.yml --- .gitea/workflows/codeant.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitea/workflows/codeant.yml b/.gitea/workflows/codeant.yml index 3cac5e9..d64def3 100644 --- a/.gitea/workflows/codeant.yml +++ b/.gitea/workflows/codeant.yml @@ -29,14 +29,7 @@ jobs: # 1. Create the hidden directory in the home folder mkdir -p ~/.codeant - - # 2. Manually create the config.json file - # We use the Gitea Secret to fill in the apiKey - cat < ~/.codeant/config.json - { - "apiKey": "${{ secrets.CODEANT_API_KEY }}", - } - EOF + printf '{"apiKey":"%s"}\n' "${{ secrets.CODEANT_API_KEY }}" > ~/.codeant/config.json - name: Run CodeAnt Analysis env: