-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
48 lines (38 loc) · 1.11 KB
/
action.yaml
File metadata and controls
48 lines (38 loc) · 1.11 KB
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
name: Mattermost Post WebHook
description: Post a message to Mattermost thanks to a WebHook URL
inputs:
mattermost-url:
description: Mattermost URL to respond to messages
required: false
default: "https://chat.sekoia.io"
channel-id:
description: channel ID to send the message to. Retrieve it from info dropdown in the channel.
required: false
# default to `platform-changes`
default: "nma3kq5wwtfxpfac55mag397cr"
webhook-url:
description: WebHook URL to post message to
required: true
bot-token:
description: Bot access token for authentication
required: true
thread-id:
description: Thread ID (post ID) to reply to
required: true
use-attachment:
description: If set to true it should send message as an attachement in mattermost
required: false
default: "true"
text:
description: Text message that should be posted to Mattermost
required: true
title:
description: Main message title
required: false
color:
description: Message color
required: false
default: "#47ba04"
runs:
using: "node20"
main: "dist/index.js"