forked from felixp8/dispatch-and-wait
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
30 lines (30 loc) · 846 Bytes
/
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
name: 'Dispatch and wait on workflow'
description: 'Trigger a workflow and then wait for it to succeed before proceeding'
inputs:
owner:
description: 'Owner of the GitHub repo'
required: true
repo:
description: 'Name of the GitHub repo'
required: true
token:
description: 'Access token for the repo'
required: true
event_type:
description: 'The event type of the repository dispatch'
required: true
client_payload:
description: 'Payload for the repository dispatch event'
default: "{}"
required: false
wait_time:
description: 'How long to wait between polls'
default: "10"
required: false
max_time:
description: 'Maximum amount of time to wait for workflow'
default: "60"
required: false
runs:
using: 'docker'
image: 'Dockerfile'