forked from convictional/trigger-workflow-and-wait
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (28 loc) · 962 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
name: 'Trigger Workflow'
description: 'This action triggers a workflow in another repository.'
author: 'myposter-de'
branding:
icon: 'arrow-right'
color: 'yellow'
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. It is recommended you put this token 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
workflow_file_name:
description: "The reference point. For example, you could use main.yml."
required: true
client_payload:
description: 'Payload to pass to the workflow, must be a JSON string'
required: false
runs:
using: 'docker'
image: 'Dockerfile'