mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
ci: update reviewers
This commit is contained in:
parent
9f0762f1fe
commit
a647cfcbcb
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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user