generated from actions/typescript-action
/
action.yml
40 lines (40 loc) · 1.17 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
name: action-slack
description: You can notify slack of GitHub Actions.
author: 8398a7
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: 8398a7@action-slack
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/main.js
branding:
icon: bell
color: blue