diff options
author | dundargoc <gocdundar@gmail.com> | 2024-05-29 15:59:43 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-05-30 20:57:14 +0200 |
commit | 783f6079b824539bdc4a168ecfebddab474b2924 (patch) | |
tree | 15faea37903286c76ea40ddf5fc2736b0c8cd1dd | |
parent | 5c33815448e11b514678f39cecc74e68131d4628 (diff) | |
download | rneovim-783f6079b824539bdc4a168ecfebddab474b2924.tar.gz rneovim-783f6079b824539bdc4a168ecfebddab474b2924.tar.bz2 rneovim-783f6079b824539bdc4a168ecfebddab474b2924.zip |
ci: update labeler configuration and add reviewers
-rw-r--r-- | .github/scripts/labeler_configuration.yml | 20 | ||||
-rw-r--r-- | .github/scripts/reviewers_add.js | 14 |
2 files changed, 33 insertions, 1 deletions
diff --git a/.github/scripts/labeler_configuration.yml b/.github/scripts/labeler_configuration.yml index ea670d1dd0..cf3b8f802b 100644 --- a/.github/scripts/labeler_configuration.yml +++ b/.github/scripts/labeler_configuration.yml @@ -2,6 +2,10 @@ build: - changed-files: - any-glob-to-any-file: [ CMakeLists.txt, "**/CMakeLists.txt", "**/Makefile", "**/*.cmake", cmake.deps/**/* ] +checkhealth: + - changed-files: + - any-glob-to-any-file: [ "**/health.lua" ] + ci: - changed-files: - any-glob-to-any-file: [ .github/actions/**, .github/workflows/**, .github/scripts/** ] @@ -14,6 +18,14 @@ column: - changed-files: - any-glob-to-any-file: [ src/nvim/sign* ] +comment: + - changed-files: + - any-glob-to-any-file: [ runtime/lua/vim/_comment.lua ] + +defaults: + - changed-files: + - any-glob-to-any-file: [ runtime/lua/vim/_defaults.lua ] + diagnostic: - changed-files: - any-glob-to-any-file: [ runtime/lua/vim/diagnostic.lua ] @@ -34,6 +46,10 @@ filetype: - changed-files: - any-glob-to-any-file: [ runtime/lua/vim/filetype.lua, runtime/lua/vim/filetype/detect.lua ] +filesystem: + - changed-files: + - any-glob-to-any-file: [ runtime/lua/vim/fs.lua ] + folds: - changed-files: - any-glob-to-any-file: [ src/nvim/fold* ] @@ -46,6 +62,10 @@ mouse: - changed-files: - any-glob-to-any-file: [ src/nvim/mouse* ] +netrw: + - changed-files: + - any-glob-to-any-file: [ runtime/autoload/netrw.vim, runtime/plugin/netrwPlugin.vim ] + snippet: - changed-files: - any-glob-to-any-file: [ runtime/lua/vim/snippet.lua ] diff --git a/.github/scripts/reviewers_add.js b/.github/scripts/reviewers_add.js index a7e0d2e47b..50195497af 100644 --- a/.github/scripts/reviewers_add.js +++ b/.github/scripts/reviewers_add.js @@ -23,6 +23,10 @@ module.exports = async ({ github, context }) => { reviewers.add("lewis6991"); } + if (labels.includes("comment")) { + reviewers.add("echasnovski"); + } + if (labels.includes("defaults")) { reviewers.add("gpanders"); } @@ -43,7 +47,7 @@ module.exports = async ({ github, context }) => { reviewers.add("gpanders"); } - if (labels.includes("extmarks")) { + if (labels.includes("marks")) { reviewers.add("bfredl"); } @@ -52,11 +56,19 @@ module.exports = async ({ github, context }) => { reviewers.add("gpanders"); } + if (labels.includes("inccommand")) { + reviewers.add("famiu"); + } + if (labels.includes("lsp")) { reviewers.add("MariaSolOs"); reviewers.add("mfussenegger"); } + if (labels.includes("netrw")) { + reviewers.add("justinmk"); + } + if (labels.includes("options")) { reviewers.add("famiu"); } |