-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
60 lines (59 loc) · 2.21 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
name: 'wait-other-jobs'
description: 'Waits for all or specific other jobs, even if they are defined in other workflows'
author: 'Kenichi Kamiya <kachick1@gmail.com>'
branding:
icon: 'check-circle'
color: 'green'
inputs:
github-token:
description: 'The GITHUB_TOKEN secret'
required: false
default: '${{ github.token }}'
github-api-url:
description: 'Github API URL'
required: true
default: '${{ github.api_url }}'
wait-seconds-before-first-polling: # TODO: Since v4.x, Rename or fallback to `initial-duration` and make it possible to take ISO 8601 duration format. See GH-821
description: 'Wait this seconds before first polling'
required: false
default: '10' # TODO: Since v4.x, Consider setting shorter or 0 because using `equal_intervals` by default. Or respect the `min-interval-seconds` if this value is empty. See GH-596 and GH-994
min-interval-seconds: # TODO: Since v4.x, Rename or fallback to `least-interval` and make it possible to take ISO 8601 duration format. See GH-821
description: 'Wait this interval or the multiplied value (and jitter)'
required: false
default: '15'
early-exit:
description: 'Stop rest pollings if faced at least 1 bad condition'
required: false
default: 'true'
retry-method:
description: 'How to wait for next polling'
required: false
default: 'equal_intervals' # Changed the default from `exponential_backoff` since GH-596(v2)
attempt-limits:
description: 'Stop rest pollings if reached to this limit'
required: false
default: '1000' # Enough large
wait-list:
description: 'Wait only these jobs'
required: false
default: '[]'
skip-list:
description: 'Wait except these jobs'
required: false
default: '[]'
skip-same-workflow:
description: 'Skip jobs defined in the same workflow which using this action'
required: false
default: 'false'
dry-run:
description: 'Avoid http requests for tests'
required: false
default: 'false'
outputs:
dump:
description: |
A file path for collected resources which keeps fields than logged.
This data is only provided for debugging purposes, so the schema is not defined.
runs:
using: 'node20'
main: 'dist/index.js'