forked from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (42 loc) · 1.2 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
name: action-slack-notification
description: This action will send a notification to Slack
author: chussum
inputs:
status:
description: "Specify success or failure or cancelled or job.status"
default: "${{ job.status }}"
required: true
fields:
description: |
You can choose the items you want to add to the fields at the time of notification.
If you have more than one, please enter it in csv format.
e.g. commit,repo
default: ""
required: false
bot_name:
description: Override the legacy integration's default name.
default: ""
channel:
description: Override the legacy integration's default channel.
default: ""
github_base_url:
description: Specify if you want to use GitHub Enterprise.
default: "https://github.com"
hash:
description: Github Hash(SHA)
default: ""
success_text:
description: Slack message when succeeded.
default: "🚀 Succeeded"
failure_text:
description: Slack message when failed.
default: "👀 Failed"
canceled_text:
description: Slack message when cancelled.
default: "🙅🏻♂️ Canceled"
runs:
using: 'node12'
main: dist/index.js
branding:
icon: message-circle
color: black