32 lines
899 B
YAML
32 lines
899 B
YAML
name: Export Forgejo Action Trace
|
|
description: Exports a trace containing Forgejo Action run metadata to your chosen OTel endpoint.
|
|
inputs:
|
|
otlp-service-name:
|
|
description: Service name to use for trace properties
|
|
default: forgejo-actions-ci
|
|
forgejo-base-url:
|
|
description: Base URL of the Forgejo instance
|
|
required: true
|
|
repo-name:
|
|
description: Name of the repository
|
|
required: true
|
|
run-id:
|
|
description: ID of the current run
|
|
required: true
|
|
forgejo-token:
|
|
description: Forgejo authentication token
|
|
required: true
|
|
otlp-endpoint:
|
|
description: Endpoint to send trace data to
|
|
required: true
|
|
|
|
runs:
|
|
using: docker
|
|
image: ./Dockerfile
|
|
args:
|
|
- ${{ inputs.otlp-service-name }}
|
|
- ${{ inputs.otlp-endpoint }}
|
|
- ${{ inputs.forgejo-token }}
|
|
- ${{ inputs.forgejo-base-url }}
|
|
- ${{ inputs.repo-name }}
|
|
- ${{ inputs.run-id }}
|