mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
ci: update labeler configuration and add reviewers
This commit is contained in:
20
.github/scripts/labeler_configuration.yml
vendored
20
.github/scripts/labeler_configuration.yml
vendored
@ -2,6 +2,10 @@ build:
|
|||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ CMakeLists.txt, "**/CMakeLists.txt", "**/Makefile", "**/*.cmake", cmake.deps/**/* ]
|
- any-glob-to-any-file: [ CMakeLists.txt, "**/CMakeLists.txt", "**/Makefile", "**/*.cmake", cmake.deps/**/* ]
|
||||||
|
|
||||||
|
checkhealth:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ "**/health.lua" ]
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ .github/actions/**, .github/workflows/**, .github/scripts/** ]
|
- any-glob-to-any-file: [ .github/actions/**, .github/workflows/**, .github/scripts/** ]
|
||||||
@ -14,6 +18,14 @@ column:
|
|||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ src/nvim/sign* ]
|
- 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:
|
diagnostic:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ runtime/lua/vim/diagnostic.lua ]
|
- any-glob-to-any-file: [ runtime/lua/vim/diagnostic.lua ]
|
||||||
@ -34,6 +46,10 @@ filetype:
|
|||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ runtime/lua/vim/filetype.lua, runtime/lua/vim/filetype/detect.lua ]
|
- 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:
|
folds:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ src/nvim/fold* ]
|
- any-glob-to-any-file: [ src/nvim/fold* ]
|
||||||
@ -46,6 +62,10 @@ mouse:
|
|||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ src/nvim/mouse* ]
|
- 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:
|
snippet:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ runtime/lua/vim/snippet.lua ]
|
- any-glob-to-any-file: [ runtime/lua/vim/snippet.lua ]
|
||||||
|
14
.github/scripts/reviewers_add.js
vendored
14
.github/scripts/reviewers_add.js
vendored
@ -23,6 +23,10 @@ module.exports = async ({ github, context }) => {
|
|||||||
reviewers.add("lewis6991");
|
reviewers.add("lewis6991");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (labels.includes("comment")) {
|
||||||
|
reviewers.add("echasnovski");
|
||||||
|
}
|
||||||
|
|
||||||
if (labels.includes("defaults")) {
|
if (labels.includes("defaults")) {
|
||||||
reviewers.add("gpanders");
|
reviewers.add("gpanders");
|
||||||
}
|
}
|
||||||
@ -43,7 +47,7 @@ module.exports = async ({ github, context }) => {
|
|||||||
reviewers.add("gpanders");
|
reviewers.add("gpanders");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (labels.includes("extmarks")) {
|
if (labels.includes("marks")) {
|
||||||
reviewers.add("bfredl");
|
reviewers.add("bfredl");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,11 +56,19 @@ module.exports = async ({ github, context }) => {
|
|||||||
reviewers.add("gpanders");
|
reviewers.add("gpanders");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (labels.includes("inccommand")) {
|
||||||
|
reviewers.add("famiu");
|
||||||
|
}
|
||||||
|
|
||||||
if (labels.includes("lsp")) {
|
if (labels.includes("lsp")) {
|
||||||
reviewers.add("MariaSolOs");
|
reviewers.add("MariaSolOs");
|
||||||
reviewers.add("mfussenegger");
|
reviewers.add("mfussenegger");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (labels.includes("netrw")) {
|
||||||
|
reviewers.add("justinmk");
|
||||||
|
}
|
||||||
|
|
||||||
if (labels.includes("options")) {
|
if (labels.includes("options")) {
|
||||||
reviewers.add("famiu");
|
reviewers.add("famiu");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user