ci: add platform:nix label when changing nix files (#21569)

Also update the reviewer list.
This commit is contained in:
dundargoc 2022-12-28 15:19:23 +01:00 committed by GitHub
parent 3d0eca6b65
commit ab11157808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

4
.github/labeler.yml vendored
View File

@ -64,3 +64,7 @@
"filetype": "filetype":
- runtime/lua/vim/filetype.lua - runtime/lua/vim/filetype.lua
- runtime/lua/vim/filetype/detect.lua - runtime/lua/vim/filetype/detect.lua
"platform:nix":
- contrib/flake.lock
- contrib/flake.nix

View File

@ -60,6 +60,10 @@ module.exports = async ({github, context}) => {
team_reviewers.push('lsp'); team_reviewers.push('lsp');
} }
if (labels.includes('platform:nix')) {
reviewers.add("teto")
}
if (labels.includes('project-management')) { if (labels.includes('project-management')) {
reviewers.add("bfredl") reviewers.add("bfredl")
reviewers.add("justinmk") reviewers.add("justinmk")