generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
62 lines (49 loc) · 1.5 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
53
54
55
56
57
58
59
60
61
62
name: 'workflow-dispatch-and-wait'
description: 'Action to dispatch and workflow and wait for its result'
author: 'ForesightMiningSoftwareCorporation'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'loader'
color: 'blue'
# Define your inputs here.
inputs:
max_retry:
description: 'Number of retries for API calls'
default: "7"
required: false
interval:
description: 'Interval between retries (in seconds)'
default: '60'
required: false
github_token:
description: 'GitHub token for authentication'
required: true
workflow_owner:
description: 'Owner of the workflow to dispatch'
required: false
workflow_repo:
description: 'Repository of the workflow exists to dispatch'
required: true
workflow_id:
description: 'ID of the workflow to be triggered (Usually the file name, e.g. `release.yaml`)'
required: true
workflow_inputs:
description: 'JSON encoded inputs for the triggered workflow'
required: false
default: '{}'
dispatch_name:
description: 'Name for the workflow run, if not set, the latest run will be fetch'
required: false
artifact_name:
description: 'Name for the artifact that the target workflow will generate'
required: false
download_path:
description: 'Where to download the artifact to'
required: false
# Define your outputs here.
outputs:
time:
description: 'Your output description here'
runs:
using: node20
main: dist/index.js