Skip to content

Merge remote-tracking branch 'origin/master' into http-1-azure-logs-i… #7975

Merge remote-tracking branch 'origin/master' into http-1-azure-logs-i…

Merge remote-tracking branch 'origin/master' into http-1-azure-logs-i… #7975

Workflow file for this run

name: Static Analysis
on:
push:
branches:
- master
- "**" # Run on all branches (includes PR branches)
workflow_dispatch: # Allow manual trigger from GitHub UI
permissions:
contents: read
jobs:
static-analysis:
# Requires Datadog OIDC credentials that aren't available on forks.
if: github.repository == 'vectordotdev/vector'
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- id: dd-token
uses: ./.github/actions/dd-token
with:
policy: public-vectordotdev-vector-static-analysis
# The analyzer cannot run without credentials, so surface dd-sts errors here.
fail-on-error: "true"
- name: Datadog Static Analyzer
uses: DataDog/datadog-static-analyzer-github-action@8340f18875fcefca86844b5f947ce2431387e552 # v3.0.0
with:
dd_api_key: ${{ env.DD_API_KEY }}
dd_app_key: ${{ env.DD_APP_KEY }}
dd_site: datadoghq.com
secrets_enabled: true