Rebase fix #7456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://app.datadoghq.com/ci/setup/static-analysis?provider=github | |
on: [push] | |
jobs: | |
check-quality: | |
runs-on: ubuntu-latest | |
name: Datadog Static Analyzer | |
permissions: | |
actions: read # read secrets | |
contents: read | |
statuses: write # add status checks (?) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check code meets quality 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_service: dd-trace-dotnet | |
dd_site: datadoghq.com | |
dd_env: ci | |
cpu_count: 2 | |