Skip to content

Commit 7999ece

Browse files
authored
add static analyzer (#23644)
1 parent c053e93 commit 7999ece

File tree

2 files changed

+26
-0
lines changed

2 files changed

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

static-analysis.datadog.yml

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

0 commit comments

Comments
 (0)