forked from flowwer-dev/pull-request-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
60 lines (60 loc) · 2.17 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: 'Pull Request Stats'
author: 'Manuel de la Torre'
description: 'Github action to print relevant stats about Pull Request reviewers'
inputs:
token:
description: 'An optional Personal Access Token with enough permissions to fetch all required pull requests to calculate the stats.'
required: false
github-token:
description: 'The default GitHub Token (secrets.GITHUB_TOKEN), used to publish comments as a bot. No need to assign a value for this input.'
required: true
default: ${{ github.token }}
repositories:
description: 'A comma separated list of github repositories to calculate the stats.'
required: false
organization:
description: 'An organization name to use all of its repositories to calculate the stats.'
required: false
period:
description: 'The length of the period used to calculate the stats, expressed in days'
required: false
default: 30
limit:
description: 'The maximum number of rows to display in the table. A value of `0` means unlimited.'
required: false
default: 0
charts:
description: 'Whether to add charts to the stats or not. Possible values: "true" or "false"'
required: false
default: 'false'
sort-by:
description: 'The column used to sort the data. Possible values: "REVIEWS", "TIME" or "COMMENTS"'
required: false
default: 'REVIEWS'
publish-as:
description: 'Where to publish the results. Possible values: "COMMENT" or "DESCRIPTION"'
required: false
default: 'COMMENT'
disable-links:
description: 'Prevents from adding any external links in the stats'
required: false
default: false
webhook:
description: 'A webhook URL to post resulting stats.'
required: false
telemetry:
description: 'Indicates if the action is allowed to send monitoring data to the developer.'
required: false
default: true
slack-webhook:
description: 'A Slack webhook URL to post resulting stats.'
required: false
slack-channel:
description: 'The Slack channel where stats will be posted. Required when a Slack webhook is configured.'
required: false
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'award'
color: 'yellow'