forked from int128/datadog-actions-metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
36 lines (32 loc) · 945 Bytes
/
action.yaml
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
33
34
35
36
name: datadog-actions-metrics
description: submit metrics of GitHub Actions to Datadog
inputs:
github-token:
description: GitHub token to get jobs and steps if needed
default: ${{ github.token }}
required: true
github-token-rate-limit-metrics:
description: GitHub token for rate limit metrics
default: ${{ github.token }}
required: true
datadog-api-key:
description: Datadog API key (dry-run if not set)
required: false
datadog-site:
description: Datadog Site name if different than datadoghq.com.
required: false
collect-job-metrics:
description: Collect job metrics
required: false
default: 'false'
collect-step-metrics:
description: Collect step metrics
required: false
default: 'false'
send-pull-request-labels:
description: Send pull request labels as Datadog tags
required: false
default: 'false'
runs:
using: 'node16'
main: 'dist/index.js'