-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
40 lines (40 loc) · 1.21 KB
/
action.yml
File metadata and controls
40 lines (40 loc) · 1.21 KB
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
name: github-action-slack-notify
description: Notify Slack channels of updates from GitHub Actions
author: indentinc
inputs:
status:
description: Specify success or failure or cancelled or custom.
payload:
description: |
json payload
refs https://github.com/slackapi/node-slack-sdk/blob/v5.0.0/packages/webhook/src/IncomingWebhook.ts#L91-L106)
mention:
description: Specify channel or here or empty string.
default: ""
only_mention_fail:
description: Specify channel or here or empty string.
default: ""
author_name:
description: User name for slack notification.
default: GitHub Actions
text:
description: You can overwrite text.
default: ""
username:
description: override the legacy integration's default name.
default: ""
icon_emoji:
description: an emoji code string to use in place of the default icon.
default: ""
icon_url:
description: an icon image URL string to use in place of the default icon.
default: ""
channel:
description: override the legacy integration's default channel. This should be an ID, such as C8UJ12P4P.
default: ""
runs:
using: node12
main: lib/action/index.js
branding:
icon: bell
color: blue