-
Notifications
You must be signed in to change notification settings - Fork 154
/
action.yml
55 lines (55 loc) · 1.93 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
name: "Slack: Send to Slack"
author: "slackapi"
description: "Send data to Slack to start a Slack workflow in Workflow Builder, call a Slack API method, or post a message into a channel"
inputs:
errors:
default: "false"
description: "If the step exits with an error on errors or continues."
required: false
method:
description: "The Slack API method to call."
required: false
payload:
description: "Attributes that create the content of the request using JSON or YAML."
required: false
payload-delimiter:
description: "Field seperator for nested attributes in the input payload."
required: false
payload-file-path:
description: "Path to a file containing a valid input payload made of JSON or YAML."
required: false
payload-templated:
default: "false"
description: "If templated variables in input payloads should be replaced."
required: false
proxy:
description: "An optional proxied route for HTTPS connections."
required: false
retries:
default: "5"
description: "The strategy to use when performing retried requests."
token:
description: "The authentication value used with the Slack API."
required: false
webhook:
description: "A location for posting request payloads."
required: false
webhook-type:
description: "Option to use either an incoming webhook or webhook trigger."
required: false
outputs:
ok:
description: "If the request completed without returning errors."
response:
description: "A JSON stringified version of the Slack API response."
time:
description: "The Unix epoch time that the step completed."
channel_id:
description: "The channel ID returned with some of the Slack API methods."
thread_ts:
description: "The timestamp of a parent Slack message with threaded replies."
ts:
description: "The timestamp of a Slack message or event in the response."
runs:
using: "node20"
main: "dist/index.js"