diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-02-09 10:12:51 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-02-09 10:47:14 +0100 |
commit | afac1b5d870152f55c09f223058e00004ffb936f (patch) | |
tree | 86ff8dd0108b510cef1626718c7fdbb2883d0d99 | |
parent | 01b748f28f0412c13ae9c5365dbd362fca0d93f6 (diff) | |
download | rneovim-afac1b5d870152f55c09f223058e00004ffb936f.tar.gz rneovim-afac1b5d870152f55c09f223058e00004ffb936f.tar.bz2 rneovim-afac1b5d870152f55c09f223058e00004ffb936f.zip |
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); |