Send Telemetry after Other Workflow #53566
This file contains hidden or 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: Send Telemetry after Other Workflow | |
| on: | |
| workflow_run: | |
| workflows: | |
| - Approve | |
| - Automerge | |
| - Check | |
| - Renovate | |
| - Tag latest | |
| types: | |
| - completed | |
| permissions: | |
| actions: read | |
| jobs: | |
| send-telemetry: | |
| name: Send CI Telemetry | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run | |
| id: run | |
| uses: paper2/github-actions-opentelemetry@e1027e95ff4cc4022e36a0fc03c44f402430bee6 # v0.10.0 | |
| env: | |
| OTEL_SERVICE_NAME: uniget-github-tools | |
| OTEL_EXPORTER_OTLP_ENDPOINT: https://otlp-gateway-prod-us-central-0.grafana.net/otlp | |
| OTEL_EXPORTER_OTLP_HEADERS: "Authorization=Basic ${{ secrets.TRACES_AUTH_BASIC }}" | |
| OTEL_RESOURCE_ATTRIBUTES: 'app=uniget,component=tools' | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |