-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (44 loc) · 1.29 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
name: GitHub Workflows Metrics
description: GitHub Workflows Metrics is a GitHub Action to measure duration of GitHub Workflows.
inputs:
range:
description: |
The range of time to measure the workflows.
This can be:
7days, 14days, 30days
required: false
default: 30days
aggregate:
description: |
Determines how the workflow metrics should be aggregated.
This can be:
average, median, min, max
required: false
default: average
only:
description: Only the specified workflows will be measured. This is supposed to be comma-separated list
required: false
default: ""
status:
description: |
Only the workflows with the specified status will be measured.
This can be:
completed, action_required, cancelled, failure, neutral,
skipped, stale, success, timed_out, in_progress, queued,
requested, waiting, pending
required: false
default: ""
label:
description: The label for GitHub issues that the GitHub Action creates
required: false
default: github-workflows-metrics
token:
description: The GitHub token used to create an authenticated client
required: false
default: ${{ github.token }}
branding:
icon: bar-chart
color: gray-dark
runs:
using: node20
main: dist/index.js