Update .gitea/workflows/datadog-static-analysis.yml
Some checks failed
Datadog Secrets Scanning / Datadog Static Analyzer (push) Successful in 14s
Datadog Software Composition Analysis / Datadog SBOM Generation and Upload (push) Successful in 15s
Release / build (push) Successful in 37s
Release / publish_head (push) Successful in 35s
Datadog Static Analysis / Datadog Static Analyzer (push) Failing after 1m33s

This commit is contained in:
Tanishq Dubey 2025-03-21 12:36:10 -04:00
parent 1a26b0b3fb
commit 90d20978b1

View File

@ -22,4 +22,8 @@ jobs:
python3 -m pip install --break-system-package semgrep python3 -m pip install --break-system-package semgrep
semgrep scan -o /tmp/semgrep.sarif semgrep scan -o /tmp/semgrep.sarif
cat /tmp/semgrep.sarif cat /tmp/semgrep.sarif
apt-get update && apt-get install -y software-properties-common npm
npm install npm@latest -g
npm install n -g
npm install -g @datadog/datadog-ci
datadog-ci sarif upload /tmp/semgrep.sarif datadog-ci sarif upload /tmp/semgrep.sarif