forked from adrey/slack-file-upload-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (36 loc) · 840 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
32
33
34
35
36
name: 'Slack File Upload 2'
branding:
icon: file
color: red
description: 'Uploads file to slack'
inputs:
path: # id of input
description: 'Path to file'
required: true
token:
description: 'Slack token'
required: true
channel:
description: 'Slack channels'
required: false
filename:
description: 'Filename of file'
required: false
filetype:
description: 'A file type identifier.'
required: false
initial_comment:
description: 'The message text introducing the file in specified channels.'
required: false
title:
description: 'Title of file'
required: false
thread_ts:
description: 'Timestamp of message thread to upload to.'
required: false
outputs:
result:
description: "response from slack"
runs:
using: 'node12'
main: 'dist/index.js'