-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
50 lines (49 loc) · 1.8 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
name: 'Trigger Action'
description: 'This action triggers a workflow in another repository and waits for the result.'
inputs:
owner:
description: "The owner of the repository where the workflow is contained."
required: true
repo:
description: "The repository where the workflow is contained."
required: true
github_token:
description: "The Github access token with access to the repository. Its recommended you put it under secrets."
required: true
ref:
description: 'The reference of the workflow run. The reference can be a branch, tag, or a commit SHA. (default - "main")'
required: false
wait_interval:
description: "The number of seconds delay between checking for result of run."
required: false
workflow_file_name:
description: "The reference point. For example, you could use main.yml."
required: true
job_uuid:
description: "Some unique string to identify the running remote action workflow"
required: true
inputs:
description: 'Inputs to pass to the workflow, must be a JSON string'
required: false
propagate_failure:
description: 'Fail current job if downstream job fails. default: true'
required: false
trigger_workflow:
description: 'Trigger the specified workflow. default: true'
required: false
wait_workflow:
description: 'Wait for workflow to finish. default: true'
required: false
monitored_job_name:
description: 'Job name to monitor and return job id for'
required: false
outputs:
workflow_id:
description: The ID of the workflow that was triggered by this action
workflow_url:
description: The URL of the workflow that was triggered by this action
job_id:
description: The Job Id of the requested job to monitor, if none provided then null.
runs:
using: 'docker'
image: 'Dockerfile'