forked from leanprover-community/mathlib4
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (25 loc) · 920 Bytes
/
export_telemetry.yaml
File metadata and controls
28 lines (25 loc) · 920 Bytes
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
name: Export workflow telemetry
on:
workflow_run:
workflows:
# The *names* of the workflows to collect telemetry for
- "continuous integration"
- "continuous integration (mathlib forks)"
- "continuous integration (staging)"
types: [completed]
permissions:
actions: read
contents: read
jobs:
otel-export:
if: ${{ github.repository == 'leanprover-community/mathlib4' || github.repository == 'leanprover-community/mathlib4-nightly-testing' }}
runs-on: ubuntu-latest
steps:
- name: Export workflow telemetry
uses: corentinmusard/otel-cicd-action@f2d88ecf54d9dd3e01ea95e25f93603212ee93d3 # v4.0.1
with:
otlpEndpoint: ${{ vars.OTLP_ENDPOINT }}
otlpHeaders: ${{ secrets.OTLP_HEADERS }}
otelServiceName: "mathlib-ci"
githubToken: ${{ secrets.GITHUB_TOKEN }}
runId: ${{ github.event.workflow_run.id }}