ci: add more reviewers based on label (#21155)

This commit is contained in:
dundargoc 2022-11-30 14:19:11 +01:00 committed by GitHub
parent c0d17cec0b
commit ef5ab2bf76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")