Files
slack-github-action/action.yml
T
Steve Gill d5d276d7ae
main.yml / New push to repo (push) Successful in 2s
v1.15.0
2021-05-18 13:46:13 -07:00

18 lines
761 B
YAML

name: 'slack-send'
description: 'Publish a message in a channel or send a JSON payload to the Slack Workflow Builder'
inputs:
channel-id: # channel id to post message when using bot token
description: 'Slack channel ID where message will be posted. Needed if using bot token'
required: false
slack-message: # message to post when using bot token
description: 'Message to post into Slack. Needed if using bot token'
required: false
payload: # JSON payload to send to Slack via webhook
description: 'JSON payload to send to Slack if webhook route. If not supplied, json from GitHub event will be sent instead'
required: false
outputs:
time: # id of output
description: 'The time'
runs:
using: 'node12'
main: 'dist/index.js'