-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (39 loc) · 1.08 KB
/
trace-workflows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Trace GitHub Actions Workflows
on:
workflow_run:
workflows:
- "Engine & CLI"
- "Go SDK"
- "Elixir SDK"
- "Java SDK"
- "Python SDK"
- "Rust SDK"
- "TypeScript SDK"
- "Docs"
- "Helm"
- "Publish Helm Chart"
- "Publish Elixir SDK"
- "Publish Go SDK"
- "Publish PHP SDK"
- "Publish Python SDK"
- "Publish Rust SDK"
- "Publish TypeScript SDK"
- "Publish CLI & Engine"
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 }}