mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci(labeler): adjust configuration
This commit is contained in:
parent
5eee633c97
commit
b83d5fabc6
2
.github/scripts/close_unresponsive.js
vendored
2
.github/scripts/close_unresponsive.js
vendored
@ -26,7 +26,7 @@ module.exports = async ({ github, context }) => {
|
|||||||
repo: repo,
|
repo: repo,
|
||||||
issue_number: number,
|
issue_number: number,
|
||||||
},
|
},
|
||||||
(response) => response.data.filter(labeledEvent)
|
(response) => response.data.filter(labeledEvent),
|
||||||
);
|
);
|
||||||
|
|
||||||
const latest_response_label = events[events.length - 1];
|
const latest_response_label = events[events.length - 1];
|
||||||
|
92
.github/scripts/labeler_configuration.yml
vendored
92
.github/scripts/labeler_configuration.yml
vendored
@ -1,22 +1,58 @@
|
|||||||
lsp:
|
build:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ runtime/lua/vim/lsp.lua, runtime/lua/vim/lsp/* ]
|
- any-glob-to-any-file: [ CMakeLists.txt, "**/CMakeLists.txt", "**/Makefile", "**/*.cmake", cmake.deps/**/* ]
|
||||||
|
|
||||||
tui:
|
ci:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ src/nvim/tui/tui.* ]
|
- any-glob-to-any-file: [ .github/actions/**, .github/workflows/**, .github/scripts/** ]
|
||||||
|
|
||||||
treesitter:
|
clipboard:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ src/nvim/lua/treesitter.*, runtime/lua/vim/treesitter.lua, runtime/lua/vim/treesitter/*, runtime/queries/**/* ]
|
- any-glob-to-any-file: [ runtime/autoload/provider/clipboard.vim ]
|
||||||
|
|
||||||
|
column:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ src/nvim/sign* ]
|
||||||
|
|
||||||
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 ]
|
||||||
|
|
||||||
dependencies:
|
diff:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ cmake.deps/**/* ]
|
- any-glob-to-any-file: [ src/nvim/diff.* ]
|
||||||
|
|
||||||
|
documentation:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-all-files: [ runtime/doc/*, "**/*.md" ]
|
||||||
|
|
||||||
|
editorconfig:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ .editorconfig, runtime/lua/editorconfig.lua, runtime/plugin/editorconfig.lua ]
|
||||||
|
|
||||||
|
filetype:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ runtime/lua/vim/filetype.lua, runtime/lua/vim/filetype/detect.lua ]
|
||||||
|
|
||||||
|
folds:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ src/nvim/fold* ]
|
||||||
|
|
||||||
|
lsp:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ runtime/lua/vim/lsp.lua, runtime/lua/vim/lsp/* ]
|
||||||
|
|
||||||
|
mouse:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ src/nvim/mouse* ]
|
||||||
|
|
||||||
|
platform:nix:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ contrib/flake.lock, contrib/flake.nix ]
|
||||||
|
|
||||||
|
snippet:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: [ runtime/lua/vim/snippet.lua ]
|
||||||
|
|
||||||
spell:
|
spell:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
@ -26,46 +62,14 @@ terminal:
|
|||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ src/nvim/terminal.* ]
|
- any-glob-to-any-file: [ src/nvim/terminal.* ]
|
||||||
|
|
||||||
column:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: [ src/nvim/sign* ]
|
|
||||||
|
|
||||||
folds:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: [ src/nvim/fold* ]
|
|
||||||
|
|
||||||
mouse:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: [ src/nvim/mouse* ]
|
|
||||||
|
|
||||||
documentation:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-all-files: [ runtime/doc/*, "**/*.md" ]
|
|
||||||
|
|
||||||
clipboard:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: [ runtime/autoload/provider/clipboard.vim ]
|
|
||||||
|
|
||||||
diff:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: [ src/nvim/diff.* ]
|
|
||||||
|
|
||||||
build:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: [ CMakeLists.txt, "**/CMakeLists.txt", "**/Makefile", "**/*.cmake" ]
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-all-files: [test/**/*]
|
- any-glob-to-all-files: [test/**/*]
|
||||||
|
|
||||||
ci:
|
treesitter:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: [ .github/actions/**, .github/workflows/**, .github/scripts/** ]
|
- any-glob-to-any-file: [ src/nvim/lua/treesitter.*, runtime/lua/vim/treesitter.lua, runtime/lua/vim/treesitter/*, runtime/queries/**/* ]
|
||||||
|
|
||||||
filetype:
|
tui:
|
||||||
- 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: [ src/nvim/tui/tui.* ]
|
||||||
|
|
||||||
platform:nix:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: [ contrib/flake.lock, contrib/flake.nix ]
|
|
||||||
|
19
.github/scripts/reviewers_add.js
vendored
19
.github/scripts/reviewers_add.js
vendored
@ -27,10 +27,6 @@ module.exports = async ({ github, context }) => {
|
|||||||
reviewers.add("gpanders");
|
reviewers.add("gpanders");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (labels.includes("dependencies")) {
|
|
||||||
reviewers.add("jamessan");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (labels.includes("diagnostic")) {
|
if (labels.includes("diagnostic")) {
|
||||||
reviewers.add("gpanders");
|
reviewers.add("gpanders");
|
||||||
}
|
}
|
||||||
@ -39,14 +35,14 @@ module.exports = async ({ github, context }) => {
|
|||||||
reviewers.add("lewis6991");
|
reviewers.add("lewis6991");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (labels.includes("distribution")) {
|
|
||||||
reviewers.add("jamessan");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (labels.includes("documentation")) {
|
if (labels.includes("documentation")) {
|
||||||
reviewers.add("clason");
|
reviewers.add("clason");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (labels.includes("editorconfig")) {
|
||||||
|
reviewers.add("gpanders");
|
||||||
|
}
|
||||||
|
|
||||||
if (labels.includes("extmarks")) {
|
if (labels.includes("extmarks")) {
|
||||||
reviewers.add("bfredl");
|
reviewers.add("bfredl");
|
||||||
}
|
}
|
||||||
@ -54,11 +50,9 @@ module.exports = async ({ github, context }) => {
|
|||||||
if (labels.includes("filetype")) {
|
if (labels.includes("filetype")) {
|
||||||
reviewers.add("clason");
|
reviewers.add("clason");
|
||||||
reviewers.add("gpanders");
|
reviewers.add("gpanders");
|
||||||
reviewers.add("smjonas");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (labels.includes("lsp")) {
|
if (labels.includes("lsp")) {
|
||||||
reviewers.add("folke");
|
|
||||||
reviewers.add("MariaSolOs");
|
reviewers.add("MariaSolOs");
|
||||||
reviewers.add("mfussenegger");
|
reviewers.add("mfussenegger");
|
||||||
}
|
}
|
||||||
@ -76,6 +70,10 @@ module.exports = async ({ github, context }) => {
|
|||||||
reviewers.add("justinmk");
|
reviewers.add("justinmk");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (labels.includes("snippet")) {
|
||||||
|
reviewers.add("MariaSolOs");
|
||||||
|
}
|
||||||
|
|
||||||
if (labels.includes("statusline")) {
|
if (labels.includes("statusline")) {
|
||||||
reviewers.add("famiu");
|
reviewers.add("famiu");
|
||||||
}
|
}
|
||||||
@ -88,6 +86,7 @@ module.exports = async ({ github, context }) => {
|
|||||||
reviewers.add("bfredl");
|
reviewers.add("bfredl");
|
||||||
reviewers.add("clason");
|
reviewers.add("clason");
|
||||||
reviewers.add("lewis6991");
|
reviewers.add("lewis6991");
|
||||||
|
reviewers.add("wookayin");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (labels.includes("tui")) {
|
if (labels.includes("tui")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user