vrl 0.31.0

Vector Remap Language
Documentation
name: Static Analysis

on:
  push:
    branches:
      - main
      - "**"  # Run on all branches (includes PR branches)
  workflow_dispatch:  # Allow manual trigger from GitHub UI

jobs:
  static-analysis:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6

      - name: Datadog Static Analyzer
        uses: DataDog/datadog-static-analyzer-github-action@v3
        with:
          dd_api_key: ${{ secrets.DD_API_KEY }}
          dd_app_key: ${{ secrets.DD_APP_KEY }}
          dd_site: datadoghq.com
          secrets_enabled: true