Trace GitHub Actions Workflows #89691
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
name: Trace GitHub Actions Workflows | |
on: | |
workflow_run: | |
workflows: | |
- "Alternative CI Runners 1" | |
- "Alternative CI Runners 2" | |
- "Benchmark" | |
- "daggerverse-preview" | |
- "Docs" | |
- "Engine & CLI" | |
- "Github" | |
- "Helm" | |
- "Publish" | |
- "Publish Rust SDK" | |
- "SDKs" | |
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 }} |