-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
27 lines (27 loc) · 870 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
name: 'Get Owners'
description: 'Parse Owners file and expose approvers, reviewers and random reviewers'
inputs:
owners-path: # id of input
description: 'OWNERS file repo path (including the actual file name)'
required: false
default: 'OWNERS'
n-random-reviewers:
description: 'Number of random reviewers you want to generate'
required: false
auto-add-reviewers:
description: 'Should add the random reviewers to pr automatically. Ignored if pr not found'
required: false
default: false
token:
description: 'Secret Token to add Reviewers'
required: false
outputs:
approvers:
description: 'All the approvers in the OWNERS file'
reviewers:
description: 'All the reviewers in the OWNERS file'
random-reviewers:
description: 'Random reviewers excluding sender'
runs:
using: 'node16'
main: 'dist/index.js'