forked from fountainhead/action-wait-for-check
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
33 lines (33 loc) · 1.11 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
name: 'Wait For Check'
description: 'Wait for another GitHub check to complete'
author: 'Fountainhead Technologies Ltd.'
branding:
icon: 'check-circle'
color: 'green'
inputs:
token:
description: 'The GitHub token to use for making API requests.'
required: true
default: ${{ github.token }}
checkName:
description: 'The name of the GitHub check to wait for. For example, `build` or `deploy`.'
required: true
ref:
description: 'The Git ref of the commit you want to poll for a passing check.'
required: true
default: ${{ github.event.pull_request.head.sha || github.sha }}
repo:
description: 'The name of the GitHub repository you want to poll for a passing check.'
required: false
owner:
description: 'The owner of the GitHub repository you want to poll for a passing check.'
required: false
timeoutSeconds:
description: 'The number of seconds to wait for the check to complete.'
required: false
intervalSeconds:
description: 'The number of seconds to wait before each poll of the GitHub API.'
required: false
runs:
using: 'node12'
main: 'dist/index.js'