forked from Codex-/return-dispatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (33 loc) · 988 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
29
30
31
32
33
34
name: Return Dispatch
description: Dispatch an action and return the new run ID.
author: Alex Miller
branding:
icon: refresh-cw
color: green
outputs:
run_id:
description: The identified Run ID.
inputs:
token:
description: GitHub Personal Access Token for making API requests.
required: true
ref:
description: The git reference for the workflow. The reference can be a branch or tag name.
required: true
repo:
description: Repository of the action to dispatch.
required: true
owner:
description: Owner of the given repository.
required: true
workflow:
description: Workflow to return an ID for. Can be the ID or the workflow filename.
required: true
workflow_inputs:
description: A flat JSON object, only supports strings (as per workflow inputs API).
workflow_timeout_seconds:
description: Time until giving up waiting for the start of the workflow run.
default: 300
runs:
using: node16
main: dist/index.js