-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 926 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
name: 'Slack File Watcher'
description: 'Notifies slack when a file has been changed'
inputs:
file:
description: 'The file that should be watched'
required: true
slack-channel:
description: 'Slack channel that should be notified'
required: true
slack-title:
description : 'Title of the message that is sent to slack'
required: false
default: 'Additions to: " + {fileToWatch}'
slack-webhook:
description: 'Slack webhook'
required: true
github-token:
description: 'GitHub token for GitHub API requests. Users should not need to set this themselves.'
required: true
default: ${{ github.token }}
include-pr-link:
description: 'Add the link to the PR along with the file changes'
required: false
default: false
outputs:
didNotify:
description: 'Shows if the file has been changed and the channel notified'
runs:
using: 'node12'
main: 'dist/index.js'