Export workflow to Dash0 #4619
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: Export workflow to Dash0 | |
on: | |
workflow_run: | |
workflows: | |
# The name of the workflow(s) that triggers the export | |
- "@[email protected]" | |
- "Mastodon (PR)" | |
- "Test" | |
- "Twitter (main)" | |
- "Twitter (PR)" | |
- "Update" | |
types: [completed] | |
jobs: | |
otel-export-dash0: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Export workflow to Dash0 | |
uses: corentinmusard/otel-cicd-action@v2 | |
with: | |
otlpEndpoint: grpc://ingress.eu-west-1.aws.dash0-dev.com:4317/ | |
otlpHeaders: ${{ secrets.DASH0_OTLP_HEADERS }} | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
runId: ${{ github.event.workflow_run.id }} |