forked from Automattic/action-required-review
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
48 lines (48 loc) · 1.46 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: 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
outputs:
satisfied_requirements:
description: List of satisfied requirements.
unsatisfied_requirements:
description: List of unsatisfied requirements.
teams_needed_for_review:
description: List of all teams still potentially needed for review.
runs:
using: node16
main: dist/index.js