forked from pasqualesalza/action-required-review
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
41 lines (41 loc) · 1.2 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
name: Required Review
description: Check that a Pull Request has reviews from required teams.
branding:
icon: 'user-check'
color: 'green'
inputs:
requirements:
description: >
Requirements, as a string containing YAML.
Either this or `requirements-file` is required.
required: false
requirements-file:
description: >
Requirements file.
Either this or `requirements` is required.
required: false
status:
description: Status context for the status check.
required: false
default: Required review
fail:
description: Fail the status check if a review is required.
required: false
type: boolean
default: false
request-reviews:
description: >
Automatically request reviews from teams or users needed to fulfill a requirement.
required: false
type: boolean
default: false
token:
description: >
GitHub Access Token. The user associated with this token will show up
as the "creator" of the status check, and must have access to read
pull request data, create status checks (`repo:status`), and to read
your organization's teams (`read:org`).
required: true
runs:
using: node20
main: dist/index.js