generated from actions/container-toolkit-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
49 lines (45 loc) · 1.12 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
name: 'slackify-notification'
description: 'Slack Notification Action'
author: 'ilhamsyahids'
inputs:
type:
description: 'job status (success, failure or cancelled)'
required: true
job_name:
description: 'title of the notification (format: markdown)'
required: true
mention:
description: 'slack mention'
required: false
mention_if:
description: 'the condition for mentioning'
required: false
username:
description: 'legacy information slack username'
required: false
icon_emoji:
description: 'legacy information slack icon emoji'
required: false
channel:
description: 'legacy information 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
default: ${{ github.token }}
runs:
using: 'node20'
main: 'dist/index.js'
outputs:
payload:
description: 'Payload that sent to slack'
branding:
icon: 'bell'
color: 'red'