-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
executable file
·43 lines (43 loc) · 1.24 KB
/
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
37
38
39
40
41
42
43
name: 'PR Monitor'
description: 'Scan for open pull requests and send a Slack update'
inputs:
slack-token:
description: 'Oauth token to enable Slack send'
required: true
github-token:
description: 'Oauth token to enable Github API querying'
required: true
channel:
description: 'Channel to send to'
required: true
default: '#pr-monitor'
sort:
description: 'Field to sort by: can be created, updated, popularity (comment count) or long-running'
required: true
default: 'updated'
sort-direction:
description: 'Direction for sort'
required: true
default: 'desc'
approved-emoji:
description: 'Slack emoji to use for an approved review'
required: true
default: 'heavy_check_mark'
pending-emoji:
description: 'Slack emoji to use for a pending review'
required: true
default: 'heavy_minus_sign'
changes-requested-emoji:
description: 'Slack emoji to use for a review that requests changes'
required: true
default: 'x'
requested-reviewer-emoji:
description: 'Slack emoji to use for a review that is requested but not actioned'
required: true
default: 'heavy_minus_sign'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: watch
color: orange