generated from Sibz/action-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
52 lines (52 loc) · 1.53 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
48
49
50
51
52
name: 'await-status-action'
description: 'description'
author: 'Sibz@EntityZero'
branding:
icon: 'clock'
color: 'yellow'
inputs:
authToken:
description: 'authToken'
required: true
contexts:
description: 'semi-colon separated list of contexts (check names)'
required: true
timeout:
description: 'max time to wait'
required: false
notPresentTimeout:
description: 'max time to wait for a check to become present'
required: false
pollInterval:
description: 'time to wait inbetween polling for states'
required: false
completeStates:
description: "semi-colon separated list of states to consider complete, default: 'success'"
required: false
failureStates:
description: "semi-colon separated list of states to consider failure, default 'error;failure'"
required: false
ref:
description: 'ref'
required: false
default: ${{ github.sha }}
owner:
description: 'GitHub username of repository owner'
required: false
default: ${{ github.repository_owner }}
repository:
description: 'GitHub repository where sha exist'
required: false
default: ${{ github.repository }}
outputs:
result:
description: "'success', 'failure' or 'timeout'"
numberOfFailedChecks:
description: 'number of failing checks'
failedCheckNames:
description: "semi-colon separated list of failed checks"
failedCheckStates:
description: "semi-colon separated list of check results, on timeout will be state or 'not_present'"
runs:
using: 'node12'
main: 'dist/index.js'