mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
ci: add more reviewers based on label (#21155)
This commit is contained in:
parent
c0d17cec0b
commit
ef5ab2bf76
22
.github/scripts/reviews.js
vendored
22
.github/scripts/reviews.js
vendored
@ -20,12 +20,17 @@ module.exports = async ({github, context}) => {
|
||||
if (labels.includes('ci')) {
|
||||
reviewers.add("dundargoc")
|
||||
reviewers.add("jamessan")
|
||||
reviewers.add("justinmk")
|
||||
}
|
||||
|
||||
if (labels.includes('column')) {
|
||||
reviewers.add("lewis6991")
|
||||
}
|
||||
|
||||
if (labels.includes('dependencies')) {
|
||||
reviewers.add("jamessan")
|
||||
}
|
||||
|
||||
if (labels.includes('diagnostic')) {
|
||||
reviewers.add("gpanders")
|
||||
}
|
||||
@ -34,10 +39,6 @@ module.exports = async ({github, context}) => {
|
||||
reviewers.add("lewis6991")
|
||||
}
|
||||
|
||||
if (labels.includes('dependencies')) {
|
||||
reviewers.add("jamessan")
|
||||
}
|
||||
|
||||
if (labels.includes('distribution')) {
|
||||
reviewers.add("jamessan")
|
||||
}
|
||||
@ -61,6 +62,19 @@ module.exports = async ({github, context}) => {
|
||||
reviewers.add("mfussenegger")
|
||||
}
|
||||
|
||||
if (labels.includes('project-management')) {
|
||||
reviewers.add("bfredl")
|
||||
reviewers.add("justinmk")
|
||||
}
|
||||
|
||||
if (labels.includes('refactor')) {
|
||||
reviewers.add("bfredl")
|
||||
}
|
||||
|
||||
if (labels.includes('test')) {
|
||||
reviewers.add("justinmk")
|
||||
}
|
||||
|
||||
if (labels.includes('treesitter')) {
|
||||
reviewers.add("bfredl")
|
||||
reviewers.add("clason")
|
||||
|
Loading…
Reference in New Issue
Block a user