forked from lazy-actions/slatify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
41 lines (41 loc) · 965 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
32
33
34
35
36
37
38
39
40
41
name: 'Slatify'
description: 'Slack Notification Action'
author: 'lazy-actions'
inputs:
type:
description: 'job status (success, failure or cancelled)'
required: true
job_name:
description: 'job name of workflow (format: markdown)'
required: true
mention:
description: 'slack mention'
required: false
mention_if:
description: 'the condition for mention'
required: false
username:
description: 'slack username'
required: false
icon_emoji:
description: 'slack icon emoji'
required: false
channel:
description: 'slack channel'
required: false
url:
description: 'slack incoming webhook url'
required: false
commit:
description: 'whether include commit data or not (true or false)'
required: false
default: 'false'
token:
description: 'need to get commit data'
required: false
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'bell'
color: 'green'