vrl 0.32.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

permissions:
  contents: read

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

      - name: Datadog Static Analyzer
        if: ${{ secrets.DD_API_KEY != '' }}
        uses: DataDog/datadog-static-analyzer-github-action@8340f18875fcefca86844b5f947ce2431387e552 # v3.0.0
        with:
          dd_api_key: ${{ secrets.DD_API_KEY }}
          dd_app_key: ${{ secrets.DD_APP_KEY }}
          dd_site: datadoghq.com
          secrets_enabled: true