generated from cloudposse-github-actions/composite-template
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (35 loc) · 899 Bytes
/
action.yml
File metadata and controls
36 lines (35 loc) · 899 Bytes
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
name: 'Wait commit status'
description: 'Checks GitHub API for a given commit and look the commit status'
author: hello@cloudposse.com
branding:
icon: 'clock'
color: 'white'
inputs:
check-retry-count:
description: 'Check retry count'
required: false
default: "5"
check-retry-interval:
description: 'Check retry interval (in seconds)'
required: false
default: "10"
token:
description: 'Github authentication token'
required: false
default: ${{ github.token }}
repository:
required: true
description: "Repository"
sha:
required: true
description: "Commit SHA"
status:
required: true
description: "Commit status name"
expected_state:
required: false
description: "Commit status state wait for. Valid values 'success', 'error', 'failure', 'pending'"
default: "success"
runs:
using: "node20"
main: "index.js"