forked from benc-uk/workflow-dispatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
27 lines (24 loc) · 794 Bytes
/
action.yaml
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
name: 'Workflow Dispatch'
description: 'Trigger and chain GitHub Actions workflows with workflow_dispatch events'
inputs:
workflow:
description: 'Name or ID of workflow to run'
required: true
token:
description: 'GitHub token with repo write access, can NOT use secrets.GITHUB_TOKEN, see readme'
required: true
inputs:
description: 'Inputs to pass to the workflow, must be a JSON string'
required: false
ref:
description: 'The reference of the workflow run. The reference can be a branch, tag, or a commit SHA'
required: false
repo:
description: 'Repo owner & name, slash separated, only set if invoking a workflow in a different repo'
required: false
runs:
using: 'node12'
main: 'dist/index.js'
branding:
color: purple
icon: send