forked from novoda/github-slack-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
27 lines (27 loc) · 749 Bytes
/
action.yml
File metadata and controls
27 lines (27 loc) · 749 Bytes
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
name: 'Slack post message'
description: 'Post a simple message to slack'
inputs:
color:
description: 'The left vertical line color of your message'
required: true
default: 'good'
text:
description: 'You message, markdown is not supported'
required: true
webhook:
description: 'Your slack channel webhook'
required: true
mentionPairs:
description: 'A list of githubUsername::slackMemberId space separated to use for mentioning a githubHusername in the text field in Slack'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.color }}
- ${{ inputs.text }}
- ${{ inputs.webhook }}
- ${{ inputs.mentionPairs }}
branding:
icon: 'message-square'
color: 'green'