Skip to content

Trace GitHub Actions Workflows #3945

Trace GitHub Actions Workflows

Trace GitHub Actions Workflows #3945

name: Trace GitHub Actions Workflows
on:
workflow_run:
workflows:
- "Docs"
- "Engine & CLI"
- "Engine & CLI split"
- "Helm"
- "Publish CLI & Engine"
- "Publish Elixir SDK"
- "Publish Go SDK"
- "Publish Helm Chart"
- "Publish PHP SDK"
- "Publish Python SDK"
- "Publish Rust SDK"
- "Publish TypeScript SDK"
- "SDK"
- "Benchmark"
- "elixir-dev"
- "elixir"
- "go-dev"
- "go"
- "java-dev"
- "java"
- "php-dev"
- "php"
- "python-dev"
- "python"
- "rust-dev"
- "rust"
- "typescript-dev"
- "typescript"
types:
- completed
permissions:
contents: read
jobs:
run:
name: Export '${{ github.event_name }}' workflow trace
runs-on: ubuntu-latest
if: ${{ github.repository == 'dagger/dagger' }}
steps:
- name: Export Workflow Trace
uses: inception-health/otel-export-trace-action@latest
with:
otlpEndpoint: grpc://api.honeycomb.io:443/
otlpHeaders: ${{ secrets.HONEYCOMB_GITHUB_ACTIONS_WORKFLOWS }}
otelServiceName: dagger-dagger-github-actions
githubToken: ${{ secrets.GITHUB_TOKEN }}
runId: ${{ github.event.workflow_run.id }}