forked from cemkiy/action-slacker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
65 lines (65 loc) · 1.52 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: 'slack-notifier-action'
description: 'Send slack messages with attachments, auto username, branch and other actions'
branding:
icon: 'bell'
color: 'purple'
inputs:
fallback:
description: 'Required plain-text summary of the attachment.'
required: false
color:
description: 'tag color'
required: false
default: '#36a64f'
pretext:
description: 'Optional text that appears above the attachment block'
required: false
author_name:
description: 'sender name'
required: false
author_link:
description: 'sender profile link'
required: false
author_icon:
description: 'sender icon'
required: false
title:
description: 'message title'
required: false
title_link:
description: 'message title link'
required: false
text:
description: 'message text'
required: false
image_url:
description: 'image url'
required: false
thumb_url:
description: 'thumb url'
required: false
default: '1000'
footer:
description: 'footer text'
required: false
footer_icon:
description: 'footer icon'
required: false
channel:
description: 'slack channel name with #'
required: true
icon_url:
description: 'slack user icon'
required: true
username:
description: 'slack username'
required: true
slack_webhook:
description: 'webhook of Slack'
required: true
outputs:
time: # output will be available to future steps
description: 'The message to output'
runs:
using: 'node12'
main: 'dist/index.js'