-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (28 loc) · 824 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
31
32
33
name: 'Required Approval'
description: 'Verifies that this pull request has been approved by of required individuals'
branding:
icon:
color: green
inputs:
token:
description: "GitHub token used for authentication"
required: true
required-approvers-list:
description: 'The list of specific users that can approve the request, comma separated. '
required: true
min-required:
description: 'The minimum number of approvals, e.g. 2'
required: true
mock-approvers:
description: 'Used only for testing'
required: false
mock-pr-number:
description: 'Used only for testing'
required: false
outputs:
specific-approvals:
description: "The list of users that approved"
value: ${{ steps.approval-check.outputs.approvers }}
runs:
using: node16
main: dist/index.js