forked from singnet/integration-github-mattermost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 917 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
name: "Integration Github Mattermost"
description: "Send message to your Mattermost instance"
author: Singnet
inputs:
webhook-url:
description: "The URL of the Mattermost webhook"
required: true
message:
description: "The message to send to Mattermost"
required: true
channel:
description: "The channel on Mattermost to post the message (optional)"
required: false
username:
description: "The username for posting on Mattermost (optional)"
required: false
icon:
description: "The icon for the post on Mattermost (optional)"
required: false
branding:
icon: "bell"
color: "red"
runs:
using: "docker"
image: "Dockerfile"
env:
MATTERMOST_WEBHOOK_URL: ${{ inputs.webhook-url }}
MATTERMOST_MESSAGE: ${{ inputs.message }}
MATTERMOST_CHANNEL: ${{ inputs.channel }}
MATTERMOST_USERNAME: ${{ inputs.username }}
MATTERMOST_ICON: ${{ inputs.icon }}