Skip to content

Commit 3b479d0

Browse files
authored
add datadog static analyzer (#4409)
1 parent e731096 commit 3b479d0

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Datadog Static Analysis
2+
3+
jobs:
4+
static-analysis:
5+
runs-on: ubuntu-latest
6+
name: Datadog Static Analyzer
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Check code meets quality and security standards
11+
id: datadog-static-analysis
12+
uses: DataDog/datadog-static-analyzer-github-action@v1
13+
with:
14+
dd_api_key: ${{ secrets.DD_STATIC_ANALYSIS_API_KEY }}
15+
dd_app_key: ${{ secrets.DD_STATIC_ANALYSIS_APP_KEY }}
16+
dd_service: dd-trace-js
17+
dd_env: ci
18+
dd_site: datadoghq.com
19+
cpu_count: 2

static-analysis.datadog.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
rulesets:
2+
- sit-ci-best-practices:
3+
only:
4+
- ".github/workflows"

0 commit comments

Comments
 (0)