diff options
author | James McCoy <jamessan@jamessan.com> | 2022-02-09 18:44:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 18:44:01 -0500 |
commit | dba1df63595adb2988f5502561b833201b504cc1 (patch) | |
tree | 12f633acf273f46c84657cfc833155a679f2c3bb | |
parent | 90f2a851c761cde94eeb3e9dc7912413c8f04661 (diff) | |
parent | afac1b5d870152f55c09f223058e00004ffb936f (diff) | |
download | rneovim-dba1df63595adb2988f5502561b833201b504cc1.tar.gz rneovim-dba1df63595adb2988f5502561b833201b504cc1.tar.bz2 rneovim-dba1df63595adb2988f5502561b833201b504cc1.zip |
Merge pull request #17349 from dundargoc/ci/add-more-reviewers-from-label
ci: add more reviewers based on label
-rw-r--r-- | .github/workflows/labeler.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 17dbf8704d..4940d6bb58 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -51,12 +51,64 @@ jobs: }) const label_names = labels.map(label => label.name) + if (label_names.includes('api')) { + reviewers.push("bfredl") + reviewers.push("gpanders") + reviewers.push("muniter") + } + if (label_names.includes('ci')) { reviewers.push("jamessan") } + if (label_names.includes('diagnostic')) { + reviewers.push("gpanders") + } + + if (label_names.includes('distribution')) { + reviewers.push("jamessan") + } + + if (label_names.includes('documentation')) { + reviewers.push("clason") + } + + if (label_names.includes('extmarks')) { + reviewers.push("bfredl") + } + + if (label_names.includes('filetype')) { + reviewers.push("clason") + reviewers.push("gpanders") + } + + if (label_names.includes('gui')) { + reviewers.push("glacambre") + reviewers.push("smolck") + } + + if (label_names.includes('lsp')) { + reviewers.push("mfussenegger") + reviewers.push("mjlbach") + } + + if (label_names.includes('treesitter')) { + reviewers.push("bfredl") + reviewers.push("vigoux") + } + + if (label_names.includes('typo')) { + reviewers.push("dundargoc") + } + + if (label_names.includes('ui')) { + reviewers.push("bfredl") + } + if (label_names.includes('vim-patch')) { + reviewers.push("janlazo") reviewers.push("seandewar") + reviewers.push("zeertzjq") } const index = reviewers.indexOf(context.actor); |