All checks were successful
Datadog Secrets Scanning / Datadog Static Analyzer (push) Successful in 13s
Datadog Software Composition Analysis / Datadog SBOM Generation and Upload (push) Successful in 15s
Release / build (push) Successful in 39s
Datadog Static Analysis / Datadog Static Analyzer (push) Successful in 47s
Release / publish_head (push) Successful in 39s
23 lines
717 B
YAML
23 lines
717 B
YAML
on: [push]
|
|
|
|
name: Datadog Static Analysis
|
|
|
|
jobs:
|
|
static-analysis:
|
|
runs-on: ubuntu-latest
|
|
name: Datadog Static Analyzer
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Check code meets quality and security standards
|
|
id: datadog-static-analysis
|
|
uses: DataDog/datadog-static-analyzer-github-action@v1
|
|
with:
|
|
dd_api_key: ${{ secrets.DD_API_KEY }}
|
|
dd_app_key: ${{ secrets.DD_APP_KEY }}
|
|
dd_site: datadoghq.com
|
|
cpu_count: 2
|
|
- name: Run Semgrep
|
|
run: |
|
|
python3 -m pip install --break-system-package semgrep
|
|
semgrep scan -o /tmp/semgrep.sarif || cat /tmp/semgrep.sarif || datadog-ci sarif upload /tmp/semgrep.sarif |