From e4542e7f691446c4a48378365fd54a6730723429 Mon Sep 17 00:00:00 2001 From: Kagol Date: Mon, 27 Jan 2025 11:05:24 +0800 Subject: [PATCH] ci: upgrade auto labeler version (#223) --- .github/auto-labeler.yml | 50 +++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/.github/auto-labeler.yml b/.github/auto-labeler.yml index 895188d..eaf3d66 100644 --- a/.github/auto-labeler.yml +++ b/.github/auto-labeler.yml @@ -1,27 +1,25 @@ -version: v1 +version: v5 -labels: - - label: enhancement - sync: true - matcher: - title: '^feat:.*' - - label: documentation - sync: true - matcher: - title: '^docs:.*' - - label: documentation - sync: true - matcher: - title: '^chore:.*' - - label: bug - sync: true - matcher: - title: '^fix:.*' - - label: ci - sync: true - matcher: - title: '^ci:.*' - - label: e2e-test - sync: true - matcher: - title: '^test:.*' +enhancement +- all + - base-branch: ['feat'] + - changed-files: + - any-glob-to-any-file: ['packages/fluent-editor/src/**'] +documentation +- changed-files: + - any-glob-to-any-file: ['packages/docs/**', 'packages/projects/**', '!packages/docs/**/*.spec.ts'] +bug +- all + - base-branch: ['fix'] + - changed-files: + - any-glob-to-any-file: ['packages/fluent-editor/src/**'] +ci +- changed-files: + - any-glob-to-any-file: ['.github/**'] +e2e-test +- changed-files: + - any-glob-to-any-file: ['packages/docs/**/*.spec.ts'] +v3 +- head-branch: ['main'] +v4 +- head-branch: ['v4']