aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-08 10:41:11 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-08 22:13:07 +0100
commit9706ee59d0e2143d40d40b9e01cd63f8a17a09ab (patch)
treee7d5d0f163e7d11652d2f6d3d1e6b84d9e3ecc01
parentf707ce76acb86e064d549dc762f5636af072d3c5 (diff)
downloadrneovim-9706ee59d0e2143d40d40b9e01cd63f8a17a09ab.tar.gz
rneovim-9706ee59d0e2143d40d40b9e01cd63f8a17a09ab.tar.bz2
rneovim-9706ee59d0e2143d40d40b9e01cd63f8a17a09ab.zip
ci: bump actions/labeler from 4 to 5
-rw-r--r--.github/labeler.yml66
-rw-r--r--.github/scripts/labeler_configuration.yml71
-rw-r--r--.github/workflows/labeler.yml5
3 files changed, 74 insertions, 68 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
deleted file mode 100644
index 111fc5f373..0000000000
--- a/.github/labeler.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-"lsp":
- - runtime/lua/vim/lsp.lua
- - runtime/lua/vim/lsp/*
-
-"tui":
- - src/nvim/tui/tui.*
-
-"treesitter":
- - src/nvim/lua/treesitter.*
- - runtime/lua/vim/treesitter.lua
- - runtime/lua/vim/treesitter/*
- - runtime/queries/**/*
-
-"diagnostic":
- - runtime/lua/vim/diagnostic.lua
-
-"dependencies":
- - cmake.deps/**/*
-
-"spell":
- - src/nvim/spell*
-
-"terminal":
- - src/nvim/terminal.*
-
-"column":
- - src/nvim/sign*
-
-"folds":
- - src/nvim/fold*
-
-"mouse":
- - src/nvim/mouse*
-
-"documentation":
- - all: ["runtime/doc/*"]
- - all: ["**/*.md"]
-
-"clipboard":
- - runtime/autoload/provider/clipboard.vim
-
-"diff":
- - src/nvim/diff.*
-
-"build":
- - CMakeLists.txt
- - "**/CMakeLists.txt"
- - "**/Makefile"
- - "**/*.cmake"
-
-"test":
- - all: ["test/**/*"]
-
-"ci":
- - .github/labeler.yml
- - .github/workflows/**/*
- - .builds/*
- - ci/**/*
-
-"filetype":
- - runtime/lua/vim/filetype.lua
- - runtime/lua/vim/filetype/detect.lua
-
-"platform:nix":
- - contrib/flake.lock
- - contrib/flake.nix
diff --git a/.github/scripts/labeler_configuration.yml b/.github/scripts/labeler_configuration.yml
new file mode 100644
index 0000000000..3db8444fde
--- /dev/null
+++ b/.github/scripts/labeler_configuration.yml
@@ -0,0 +1,71 @@
+lsp:
+ - changed-files:
+ - any-glob-to-any-file: [ runtime/lua/vim/lsp.lua, runtime/lua/vim/lsp/* ]
+
+tui:
+ - changed-files:
+ - any-glob-to-any-file: [ src/nvim/tui/tui.* ]
+
+treesitter:
+ - changed-files:
+ - any-glob-to-any-file: [ src/nvim/lua/treesitter.*, runtime/lua/vim/treesitter.lua, runtime/lua/vim/treesitter/*, runtime/queries/**/* ]
+
+diagnostic:
+ - changed-files:
+ - any-glob-to-any-file: [ runtime/lua/vim/diagnostic.lua ]
+
+dependencies:
+ - changed-files:
+ - any-glob-to-any-file: [ cmake.deps/**/* ]
+
+spell:
+ - changed-files:
+ - any-glob-to-any-file: [ src/nvim/spell* ]
+
+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:
+ - changed-files:
+ - any-glob-to-any-file: [ .github/actions/**, .github/workflows/**, .github/scripts/** ]
+
+filetype:
+ - 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 ]
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 52682d93dd..cd4bd660aa 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -9,9 +9,10 @@ jobs:
contents: read
pull-requests: write
steps:
- - uses: actions/labeler@v4
+ - uses: actions/checkout@v4
+ - uses: actions/labeler@v5
with:
- sync-labels: ""
+ configuration-path: .github/scripts/labeler_configuration.yml
type-scope:
needs: triage