generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
52 lines (52 loc) · 1.88 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
name: 'Dispatch Workflow'
description: 'A GitHub action to dispatch a remote GitHub workflow and optionally retrieve its information'
branding:
icon: chevrons-right
color: black
inputs:
dispatch-method:
required: true
description: 'The method that will be used for dispatching GitHub workflows: repository_dispatch, workflow_dispatch.'
repo:
description: 'Repository of the workflow to dispatch.'
required: true
owner:
description: 'Owner of the given repository.'
required: true
token:
description: 'GitHub API token for making API requests.'
required: true
ref:
description: >
'If the selected dispatch method is workflow_dispatch, the git reference for the workflow.
The reference can be a branch or tag name.'
required: false
workflow:
description: 'If the selected dispatch method is workflow_dispatch, the ID or the workflow file name to dispatch.'
required: false
event-type:
required: false
description: 'If the selected dispatch method is repository_dispatch, what event type will be triggered in the repository.'
workflow-inputs:
description: 'A JSON object that contains extra information that will be provided to the dispatch call.'
required: false
default: '{}'
discover:
description: 'A flag to enable the discovery of the Run ID from the dispatched workflow.'
required: false
default: 'false'
starting-delay-ms:
description: The delay, in milliseconds, before executing the function for the first time.
required: false
default: 200
max-attempts:
description: The maximum number of times to attempt read-only GitHub API requests.
required: false
default: 5
time-multiple:
description: The starting-delay-ms is multiplied by the time-multiple to increase the delay between reattempts.
required: false
default: 2
runs:
using: 'node20'
main: 'dist/index.js'