forked from fo2rist/pull-request-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (48 loc) · 1.56 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
name: 'Pull Request Stats (no tracking)'
author: 'fo2rist'
description: 'Action to print stats about Pull Request reviewers in PR description'
inputs:
token:
description: 'The GitHub authentication token'
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
excluded-reviewers:
description: 'List of user IDs to exclude from stats'
required: false
default: '[]'
period:
description: 'The length of the period used to calculate the stats, expressed in days'
required: false
default: '30'
charts:
description: 'Whether to add charts to the stats or not. Possible values: "true" or "false"'
required: false
default: 'false'
summary:
description: 'Whether to add summary stats for period. Possible values: "true" or "false"'
required: false
default: 'true'
sort-by:
description: 'The column used to sort the data. Possible values: "REVIEWS", "TIME" or "COMMENTS"'
required: false
default: 'REVIEWS'
disable-links:
description: 'Prevents from adding any external links in the stats'
required: false
default: 'true'
limit:
description: 'The maximum number of rows to display in the table. A value of `0` means unlimited.'
required: false
default: '0'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'bar-chart-2'
color: 'green'