mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	ci(labeler): adjust configuration
This commit is contained in:
		
							
								
								
									
										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,
 | 
			
		||||
        issue_number: number,
 | 
			
		||||
      },
 | 
			
		||||
      (response) => response.data.filter(labeledEvent)
 | 
			
		||||
      (response) => response.data.filter(labeledEvent),
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    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:
 | 
			
		||||
    - 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:
 | 
			
		||||
    - any-glob-to-any-file: [ src/nvim/tui/tui.* ]
 | 
			
		||||
    - any-glob-to-any-file: [ .github/actions/**, .github/workflows/**, .github/scripts/** ]
 | 
			
		||||
 | 
			
		||||
treesitter:
 | 
			
		||||
clipboard:
 | 
			
		||||
  - 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:
 | 
			
		||||
  - changed-files:
 | 
			
		||||
    - any-glob-to-any-file: [ runtime/lua/vim/diagnostic.lua ]
 | 
			
		||||
 | 
			
		||||
dependencies:
 | 
			
		||||
diff:
 | 
			
		||||
  - 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:
 | 
			
		||||
  - changed-files:
 | 
			
		||||
@@ -26,46 +62,14 @@ terminal:
 | 
			
		||||
  - changed-files:
 | 
			
		||||
    - 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:
 | 
			
		||||
  - changed-files:
 | 
			
		||||
    - any-glob-to-all-files: [test/**/*]
 | 
			
		||||
 | 
			
		||||
ci:
 | 
			
		||||
treesitter:
 | 
			
		||||
  - 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:
 | 
			
		||||
    - any-glob-to-any-file: [ runtime/lua/vim/filetype.lua, runtime/lua/vim/filetype/detect.lua ]
 | 
			
		||||
 | 
			
		||||
platform:nix:
 | 
			
		||||
  - changed-files:
 | 
			
		||||
    - any-glob-to-any-file: [ contrib/flake.lock, contrib/flake.nix ]
 | 
			
		||||
    - any-glob-to-any-file: [ src/nvim/tui/tui.* ]
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										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");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("dependencies")) {
 | 
			
		||||
    reviewers.add("jamessan");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("diagnostic")) {
 | 
			
		||||
    reviewers.add("gpanders");
 | 
			
		||||
  }
 | 
			
		||||
@@ -39,14 +35,14 @@ module.exports = async ({ github, context }) => {
 | 
			
		||||
    reviewers.add("lewis6991");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("distribution")) {
 | 
			
		||||
    reviewers.add("jamessan");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("documentation")) {
 | 
			
		||||
    reviewers.add("clason");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("editorconfig")) {
 | 
			
		||||
    reviewers.add("gpanders");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("extmarks")) {
 | 
			
		||||
    reviewers.add("bfredl");
 | 
			
		||||
  }
 | 
			
		||||
@@ -54,11 +50,9 @@ module.exports = async ({ github, context }) => {
 | 
			
		||||
  if (labels.includes("filetype")) {
 | 
			
		||||
    reviewers.add("clason");
 | 
			
		||||
    reviewers.add("gpanders");
 | 
			
		||||
    reviewers.add("smjonas");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("lsp")) {
 | 
			
		||||
    reviewers.add("folke");
 | 
			
		||||
    reviewers.add("MariaSolOs");
 | 
			
		||||
    reviewers.add("mfussenegger");
 | 
			
		||||
  }
 | 
			
		||||
@@ -76,6 +70,10 @@ module.exports = async ({ github, context }) => {
 | 
			
		||||
    reviewers.add("justinmk");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("snippet")) {
 | 
			
		||||
    reviewers.add("MariaSolOs");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("statusline")) {
 | 
			
		||||
    reviewers.add("famiu");
 | 
			
		||||
  }
 | 
			
		||||
@@ -88,6 +86,7 @@ module.exports = async ({ github, context }) => {
 | 
			
		||||
    reviewers.add("bfredl");
 | 
			
		||||
    reviewers.add("clason");
 | 
			
		||||
    reviewers.add("lewis6991");
 | 
			
		||||
    reviewers.add("wookayin");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (labels.includes("tui")) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user