Update .gitea/workflows/codeant.yml
All checks were successful
Codeant Security Scan / codeant-scan (push) Successful in 40s
All checks were successful
Codeant Security Scan / codeant-scan (push) Successful in 40s
This commit is contained in:
@@ -28,9 +28,10 @@ jobs:
|
||||
run: |
|
||||
npm install -g codeant-cli
|
||||
mkdir -p $HOME/.codeant
|
||||
|
||||
echo $MY_KEY
|
||||
# Now we use the environment variable $MY_KEY
|
||||
printf '{"apiKey":"%s"}\n' "$MY_KEY" > $HOME/.codeant/config.json
|
||||
cat $HOME/.codeant/config.json
|
||||
|
||||
# Verify: This should now show ~35-40 bytes
|
||||
echo "Config file size: $(wc -c < $HOME/.codeant/config.json) bytes"
|
||||
|
||||
Reference in New Issue
Block a user