forked from voxmedia/github-action-slack-notify-build
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
28 lines (28 loc) · 805 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
name: 'GHA 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
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: 'node16'
main: 'dist/index.js'