Spracherkennung für: .yaml vermutete Sprache: Abap {ABAP[45] Cobol[45] MT940[28]} [Methode: maximale Elemente, drei Dimensionen]
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:
# `workflow_run` matches the triggering workflow by name only, which doesn't identify it.
# Our CI workflows run on `push` and `pull_request_target` only, which both run workflow
# files from this repository, so skip runs for any other event.
if: ${{ (github.repository == 'leanprover-community/mathlib4' || github.repository == 'leanprover-community/mathlib4-nightly-testing') &&
contains(fromJSON('["push", "pull_request_target"]'), github.event.workflow_run.event) }}
runs-on: ubuntu-latest
steps:
- name: Export workflow telemetry
uses: corentinmusard/otel-cicd-action@4826b79d63662fa91657272e7711420cb6aea543 # v4.2.0
with:
otlpEndpoint: ${{ vars.OTLP_ENDPOINT }}
otlpHeaders: ${{ secrets.OTLP_HEADERS }}
otelServiceName: "mathlib-ci"
githubToken: ${{ secrets.GITHUB_TOKEN }}
runId: ${{ github.event.workflow_run.id }}
[Dauer der Verarbeitung: 0.6 Sekunden, vorverarbeitet 2026-11-18]