forked from voxmedia/github-action-slack-notify-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (31 loc) · 894 Bytes
/
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
name: 'Slack Notify Build'
description: 'Report GitHub Actions build status on Slack'
branding:
icon: message-square
color: orange
inputs:
channel:
description: 'The Slack channel name. Required if no `channel_id` provided.'
required: false
channel_id:
description: 'The Slack channel ID. Required if no `channel` provided.'
required: false
status:
description: 'The status to list in the update.'
required: true
title:
description: 'The text to print as the title of the update.'
required: true
color:
description: 'The color of the Slack attachment.'
required: true
default: '#cccccc'
message_id:
description: 'The ID of the existing Slack message to update.'
required: false
outputs:
message_id:
description: 'The unique timestamp identifier of the Slack message sent'
runs:
using: 'node12'
main: 'dist/index.js'