From 423d842cb28cfaf9d1c497f3b638ab5833128dcd Mon Sep 17 00:00:00 2001 From: Ryo Takeuchi Date: Sat, 3 Feb 2024 21:28:34 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20labeler=20=E3=81=AE=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/labeler.yml | 97 ++++++++++++++++++++++++++++++--------------- 1 file changed, 66 insertions(+), 31 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 9dec32b..b497caf 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,49 +1,84 @@ +# noinspection YAMLSchemaValidation version: 1 labels: # Type labels - - label: "@type/feature" - title: '^(:sparkles:|:tada:|:art:).*' - - label: "@type/improve" - title: '^(:\+1:|:recycle:|:rocket:).*' - - label: "@type/fix" - title: '^:bug:.*' - - label: "@type/docs" - title: '^:books:.*' - files: - - "apps/docs/.+" - - "docs/.+" - label: "@type/build" - title: '^(:wrench:|:up:).*' - files: - - "**/package.json" - - ".tool-versions" - - "tools/.+" + title: '^build(?:\(.+\))?\!?:' + - label: "@type/ci" - title: '^:green_heart:.*' + title: '^ci(?:\(.+\))?\!?:' files: - '\.github/.+' + - "scripts/.+" + - "tools/.+" - # Package labels - - label: "@apps/frontend" + - label: "@type/docs" + title: '^docs:(?:\(.+\))?\!?:' files: - - "apps/web/.+" - - "apps/frontend/.+" + - "docs/.+" + - "**/README.md$" + + - label: "@type/feature" + title: '^feat:(?:\(.+\))?\!?:' + + - label: "@type/fix" + title: '^fix:(?:\(.+\))?\!?:' + + - label: "@type/improve" + title: '^(style|refactor|perf)(?:\(.+\))?\!?:' + + # Top Package labels - label: "@apps/backend" files: - "apps/backend/.+" - - label: "@packages/eslint-config" + + - label: "@apps/frontend" files: - - "packages/eslint-config-custom/.+" - - label: "@packages/prettier-config" + - "apps/frontend/.+" + + # Core Package labels + - label: "@core/common" files: - - "packages/prettier-config/.+" - - label: "@packages/tsconfig" + - "core/common/.+" + + - label: "@core/data" files: - - "packages/tsconfig/.+" - - label: "@packages/ui" + - "core/data/.+" + + - label: "@core/database" files: - - "packages/ui/.+" + - "core/database/.+" - # Feature labels - # TBD + - label: "@core/datastore" + files: + - "core/datastore/.+" + + - label: "@core/designsystem" + files: + - "core/designsystem/.+" + + - label: "@core/domain" + files: + - "core/domain/.+" + + - label: "@core/model" + files: + - "core/model/.+" + + - label: "@core/network" + files: + - "core/network/.+" + + - label: "@core/testing" + files: + - "core/testing/.+" + + # Feature Package labels + - label: "@feature/top" + files: + - "feature/top/.+" + + - label: "@feature/auth" + files: + - "feature/auth/.+"