mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
[Backport release-0.9] ci: update reviewers (#23837)
ci: update reviewers
(cherry picked from commit a647cfcbcb
)
Co-authored-by: dundargoc <gocdundar@gmail.com>
This commit is contained in:
![41898282+github-actions[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
72209f4bf7
commit
8463161daa
8
.github/scripts/reviews.js
vendored
8
.github/scripts/reviews.js
vendored
@@ -5,10 +5,11 @@ module.exports = async ({ github, context }) => {
|
||||
pull_number: context.issue.number,
|
||||
});
|
||||
const labels = pr_data.data.labels.map((e) => e.name);
|
||||
|
||||
const reviewers = new Set();
|
||||
|
||||
if (labels.includes("api")) {
|
||||
reviewers.add("bfredl");
|
||||
reviewers.add("famiu");
|
||||
}
|
||||
|
||||
if (labels.includes("build")) {
|
||||
@@ -72,6 +73,10 @@ module.exports = async ({ github, context }) => {
|
||||
reviewers.add("justinmk");
|
||||
}
|
||||
|
||||
if (labels.includes("statusline")) {
|
||||
reviewers.add("famiu");
|
||||
}
|
||||
|
||||
if (labels.includes("test")) {
|
||||
reviewers.add("justinmk");
|
||||
}
|
||||
@@ -88,6 +93,7 @@ module.exports = async ({ github, context }) => {
|
||||
|
||||
if (labels.includes("ui")) {
|
||||
reviewers.add("bfredl");
|
||||
reviewers.add("famiu");
|
||||
}
|
||||
|
||||
if (labels.includes("vim-patch")) {
|
||||
|
Reference in New Issue
Block a user