forked from thecodedrift/slack-rich-notify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (36 loc) · 1.22 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
name: "Slack Rich Notification"
description: "Send a slack message, supporting Markdown and Multiline text"
branding:
icon: message-square
color: gray-dark
inputs:
token:
description: Your Slack bot token (from your App's "OAuth & Permissions" page)
required: true
secret:
description: Your Slack bot's Signing Secret (from your App's "Basic Information" page)
required: true
channel:
description: Channel to send your message to
required: true
message:
description: The message to send. Use a pipe (|) in YAML for multiline strings
required: true
evals:
description: A collection of scripts/commands to run before populating the message. Each key will be mapped to evals.<key> in the Handlebars render
required: false
raw:
description: Do not process the message using Handlebars
default: false
dump:
description: Dump the handlebars context (useful for debugging). Secrets are masked.
default: false
dry-run:
description: Do not perform a slack notification (useful for testing)
default: false
outputs:
message: # output will be available to future steps
description: The final Slack mesage that was generated
runs:
using: "node12"
main: "dist/index.js"