Changing the env var DD_TRACE_SAMPLE_RATE to DD_TRACE_SAMPLING_RULES … #23415
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
on: [push] | |
name: Datadog Static Analysis | |
permissions: | |
contents: read | |
jobs: | |
static-analysis: | |
if: github.ref != 'refs/heads/guacbot/translation-pipeline' | |
runs-on: ubuntu-latest | |
name: Datadog Static Analyzer | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- 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_service: documentation | |
dd_env: ci | |
dd_site: datadoghq.com | |
cpu_count: 2 |