forked from jitterbit/await-check-suites
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
63 lines (63 loc) · 1.99 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
53
54
55
56
57
58
59
60
61
62
63
name: Await Check Suites
description: Wait for a commit's check suites to complete
author: Jitterbit, Inc.
branding:
icon: watch
color: purple
runs:
using: node20
main: dist/index.js
inputs:
repository:
description: >
The commit's repository name with owner.
For example, `jitterbit/await-check-suites`.
required: true
default: ${{ github.repository }}
ref:
description: >
The commit's ref (can be a SHA, branch name, or a tag name).
required: true
default: ${{ github.sha }}
token:
description: >
GitHub token for GitHub API requests.
When `repository` is modified, set to a personal access token with access to `repository`.
required: true
default: ${{ github.token }}
waitForACheckSuite:
description: >
Wait for a check suite to be created if none exist.
This is important to protect against race conditions
if you know a check suite should exist on the `ref`'s commit.
required: true
default: 'true'
intervalSeconds:
description: >
Number of seconds to wait between checks.
required: true
default: '15'
timeoutSeconds:
description: >
Number of seconds to wait before timing out.
required: false
failStepIfUnsuccessful:
description: >
Fail step if any of the check suites complete with a conclusion other than 'success'.
required: true
default: 'true'
appSlugFilter:
description: >
Filter check suites for a particular app's slug (e.g., 'github-actions').
required: false
onlyFirstCheckSuite:
description: >
Only take into account the first check suite ordered by the `created_at` timestamp.
If `appSlugFilter` is set, only the first check suite that matches the app's slug is taken into account.
This is important for scheduled workflows that only want to take into account pushed workflows.
required: true
default: 'false'
outputs:
conclusion:
description: >
The combined conclusion of all check suites.