Skip to content

Commit 69d9ef7

Browse files
authored
[ISSUE # #533] 🔨Optimize auto request review config file (#534)
* [ISSUE # #533] 🔨Optimize auto request review config file * fix ci error
1 parent ba485cc commit 69d9ef7

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

.github/reviewers.yml

+30-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@ reviewers:
22
# The default reviewers
33
defaults:
44
- repository-owners # group
5+
6+
# Reviewer groups each of which has a list of GitHub usernames
7+
groups:
8+
repository-owners:
9+
- mxsm # username
10+
- TeslaRustor # username
11+
- SpaceXCN # username
12+
13+
files:
14+
# Keys are glob expressions.
15+
# You can assign groups defined above as well as GitHub usernames.
16+
'**':
17+
- repository-owners # group
18+
19+
'**/*.yml':
20+
- repository-owners # username
21+
'.github/**':
22+
- repository-owners # username
23+
524
options:
625
ignore_draft: true
7-
number_of_reviewers: 2
26+
ignored_keywords:
27+
- DO NOT REVIEW
28+
enable_group_assignment: false
29+
30+
# Randomly pick reviewers up to this number.
31+
# Do not set this option if you'd like to assign all matching reviewers.
32+
number_of_reviewers: 2
33+
34+
# If it's true, the last matching files-change pattern takes the most precedence (CODEOWNERS-compatible)
35+
# See https://github.com/necojackarc/auto-request-review/pull/80 for more details.
36+
last_files_match_only: false

.github/workflows/auto_request_review.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
# you can fetch it before you run this action, then let this action pick it up with `use_local: true`.
2020
# This defaults to false if not specified.
2121
# See https://github.com/necojackarc/auto-request-review/issues/76 for more details.
22-
use_local: true
22+
use_local: false

0 commit comments

Comments
 (0)