forked from lewagon/wait-on-check-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
47 lines (46 loc) · 1.22 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
# action.yml
name: "Wait on check"
author: "progapandist"
description: "Wait on a certain check to pass for commit"
inputs:
ref:
description: "A git ref to be checked: branch/tag/commit sha"
required: true
check-name:
description: "A name of a check that has to pass"
required: false
default: ""
check-regexp:
description: "Filter checks to wait using Regexp"
required: false
default: ""
repo-token:
description: "A GitHub token for the repo"
required: false
default: ""
wait-interval:
description: "Seconds to wait between Checks API requests"
required: false
default: "10"
running-workflow-name:
description: "Name of the workflow to be ignored (the one who is waiting for the rest)"
required: false
default: ""
allowed-conclusions:
description: "Array of allowed conclusions"
required: false
default: success,skipped
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.ref }}
- ${{ inputs.check-name }}
- ${{ inputs.check-regexp }}
- ${{ inputs.repo-token }}
- ${{ inputs.wait-interval }}
- ${{ inputs.running-workflow-name }}
- ${{ inputs.allowed-conclusions }}
branding:
icon: "check-circle"
color: "green"