Skip to content

Commit

Permalink
ci: labeler の調整
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsutakein committed Feb 3, 2024
1 parent 92da636 commit 423d842
Showing 1 changed file with 66 additions and 31 deletions.
97 changes: 66 additions & 31 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -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/.+"

0 comments on commit 423d842

Please sign in to comment.