Skip to content

Emit Workflow Traces #77

Emit Workflow Traces

Emit Workflow Traces #77

name: Emit Workflow Traces
on:
workflow_run:
workflows:
- "**"
types:
- completed
permissions:
packages: write
contents: write
attestations: write
id-token: write
actions: write
checks: write
jobs:
send:
runs-on: ubuntu-latest
services:
otel-collector:
image: "ghcr.io/freckle/trace-workflow-action-otel-image:7aa520d43a29e6d028037bdeafe9e9882e695795"
ports:
- "4317:4317"
- "4318:4318"
env:
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: ./