forked from corentinmusard/otel-cicd-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
32 lines (29 loc) · 888 Bytes
/
action.yml
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
29
30
31
32
name: Open Telemetry CI/CD Action
description: Export CI/CD workflows to any endpoint compatible with OpenTelemetry
author: Corentin Musard
runs:
using: node20
main: dist/index.js
inputs:
otlpEndpoint:
description: The destination endpoint to export OpenTelemetry traces to
required: true
otlpHeaders:
description: Network Headers for the destination endpoint to export OpenTelemetry traces to
required: true
otelServiceName:
description: OpenTelemetry service name
required: false
default: ""
githubToken:
description: The repository token with Workflow permissions. i.e. secrets.GITHUB_TOKEN
required: false
runId:
description: Workflow Run ID to Export. Defaults to env.GITHUB_RUN_ID
required: false
outputs:
traceId:
description: The OpenTelemetry Trace ID for this Trace
branding:
icon: bar-chart-2
color: green