From b3317ed7c3194138cd5f46879eee63fb4f76ee13 Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Mon, 26 Aug 2024 07:13:04 +0800 Subject: [PATCH] Update labeler.yml --- .github/labeler.yml | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 3962c33..adb1deb 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,30 +1,4 @@ -# Add 'root' label to any root file changes -# Quotation marks are required for the leading asterisk -root: -- changed-files: - - any-glob-to-any-file: '*' - -# Add 'AnyChange' label to any changes within the entire repository -AnyChange: -- changed-files: - - any-glob-to-any-file: '**' - -# Add 'Documentation' label to any changes within 'docs' folder or any subfolders -Documentation: +# Add 'Supperthomas' label to any changes within 'docs' folder or any subfolders +Supperthomas: - changed-files: - any-glob-to-any-file: source/** - -# Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder -source: -- all: - - changed-files: - - any-glob-to-any-file: 'src/**/*' - - all-globs-to-all-files: '!src/docs/*' - -# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name -feature: - - head-branch: ['^feature', 'feature'] - -# Add 'release' label to any PR that is opened against the `main` branch -release: - - base-branch: 'main'