Files
slack-github-action/action.yml
T
Steve Gill 3131f81f0b
main.yml / A job to say hello (push) Failing after 2s
updated action to work with slack
2020-10-28 16:44:33 -07:00

19 lines
616 B
YAML

name: 'Hello World'
description: 'Greet someone and record the time'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
required: true
default: 'World'
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
message: # message to post when using bot token
description: 'Message to post into Slack. Needed if using bot token'
required: false
outputs:
time: # id of output
description: 'The time we greeted you'
runs:
using: 'node12'
main: 'index.js'