Update .gitea/workflows/codeant.yml
All checks were successful
Codeant Security Scan / codeant-scan (push) Successful in 41s
All checks were successful
Codeant Security Scan / codeant-scan (push) Successful in 41s
This commit is contained in:
@@ -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 <<EOF > ~/.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:
|
||||
|
||||
Reference in New Issue
Block a user