fix(deploy): fix security
Some checks failed
PR Checks / prettier-autofix (pull_request) Successful in 8s
PR Checks / test-backend (pull_request) Successful in 45s
PR Checks / security-sast (pull_request) Failing after 28s

This commit is contained in:
2026-03-03 13:19:49 +01:00
parent a4c26ec912
commit b17797a49b
8 changed files with 213 additions and 14 deletions

View File

@@ -20,6 +20,7 @@ jobs:
with:
java-version: "21"
distribution: "temurin"
cache: gradle
- name: Run Tests with Gradle
run: |

View File

@@ -108,7 +108,15 @@ jobs:
- name: Run Gitleaks (secrets scan)
shell: bash
run: |
gitleaks detect --source . --no-git --redact --exit-code 1
set +e
gitleaks detect --source . --no-git --redact --exit-code 1 \
--report-format json --report-path /tmp/gitleaks-report.json
rc=$?
if [[ $rc -ne 0 ]]; then
echo "Gitleaks findings:"
cat /tmp/gitleaks-report.json
fi
exit $rc
test-backend:
runs-on: ubuntu-latest
@@ -121,6 +129,7 @@ jobs:
with:
java-version: "21"
distribution: "temurin"
cache: gradle
- name: Run Tests with Gradle
run: |