@@ -43,7 +43,7 @@ jobs:
|
||||
|
||||
- name: Trivy filesystem scan
|
||||
run: |
|
||||
trivy fs --format table --output report.txt \
|
||||
trivy fs -f json -o report.json \
|
||||
--skip-dirs node_modules,android/.gradle,android/build,ios/Pods,ios/build,.git \
|
||||
--exit-code 0 \
|
||||
.
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: trivy-fs-report
|
||||
# path: report.txt
|
||||
# path: report.json
|
||||
|
||||
# ---------------- SONARQUBE ----------------
|
||||
# In Gitea: Settings → Secrets → SONAR_TOKEN (and optionally SONAR_URL).
|
||||
|
||||
Reference in New Issue
Block a user