-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
47 lines (47 loc) · 1.61 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
45
46
47
name: 'Workflow Time Predictor'
description: 'Tells how long take time for the current workflow based on past results.'
inputs:
token:
description: 'Required to fetch workflow and repository information. Give `GITHUB_TOKEN`.'
type: string
required: true
owner:
description: 'Required to determine which repository to fetch. Give `GITHUB_REPOSITORY_OWNER`.'
type: string
required: true
repository:
description: 'Required to determine which repository to fetch. Give `GITHUB_REPOSITORY`.'
type: string
required: true
workflow-file-name:
description: 'Required to determine which repository to fetch. Give `build.yml` if your workflow file name is build.yml.'
type: string
required: true
numbers:
description: 'The number of past results to fetch retroactively. Default value is `50`.'
type: number
required: false
default: 50
outputs:
succeed_median_time:
description: 'The median take time to run the workflow.'
succeed_average_time:
description: 'The average take time to run the workflow.'
succeed_max_time:
description: 'The max take time to run the workflow.'
succeed_min_time:
description: 'The min take time to run the workflow.'
failure_median_time:
description: 'The median take time to run the workflow.'
failure_average_time:
description: 'The average take time to run the workflow.'
failure_max_time:
description: 'The max take time to run the workflow.'
failure_min_time:
description: 'The min take time to run the workflow.'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: clock
color: purple