diff --git a/.github/labeler.yml b/.github/labeler.yml index 00722e082..d2758171d 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,21 +1,35 @@ -'category: CI': -- '.github/**/*' -- 'Jenkinsfile' +CI: +- any: + - changed-files: + - any-glob-to-any-file: + - '.github/**/* + - 'Jenkinsfile' -'category: tokenizers_cpp': -- 'src/**/*' +tokenizers_cpp: +- any: + - changed-files: + - any-glob-to-any-file: 'src/**/*' -'category: tokenizers_py': -- 'python/**/*' +tokenizers_py: +- any: + - changed-files: + - any-glob-to-any-file: 'python/**/*' -'category: tokenizers_test': -- 'tests/**/*' +tokenizers_test: +- any: + - changed-files: + - any-glob-to-any-file: 'tests/**/*' -'category: build': -- '**/CMakeLists.txt' -- '**/*.toml' -- '**/*.cmake' +build: +- any: + - changed-files: + - any-glob-to-any-file: + - '**/CMakeLists.txt' + - '**/*.toml' + - '**/*.cmake' -'dependencies': -- '**/requirement*.txt' -- any: ['!**/CMakeLists.txt'] +dependencies: +- any: + - changed-files: + - any-glob-to-any-file: '**/requirement*.txt' + - all-globs-to-all-files: '!**/CMakeLists.txt'