Skip to content

Commit

Permalink
Better config
Browse files Browse the repository at this point in the history
  • Loading branch information
BDadmehr0 authored Nov 18, 2024
1 parent b48c1d2 commit 38b280e
Showing 1 changed file with 72 additions and 5 deletions.
77 changes: 72 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,78 @@
# Automatically label based on file paths
bug:
- "src/**/*.js"
- "*.html"
# ---------------------------
# Labels based on file paths
# ---------------------------
frontend:
- "src/frontend/**"
- "*.css"
- "*.js"

backend:
- "src/backend/**"
- "*.py"
- "*.java"

database:
- "db/**"
- "*.sql"

tests:
- "tests/**"
- "*.test.js"
- "*.spec.py"

documentation:
- "docs/**"
- "*.md"
- "README.md"

# ---------------------------
# Labels based on keywords
# ---------------------------
bug:
- "error"
- "bug"
- "failed"
- "unexpected"
enhancement:
- "features/**"
- "feature"
- "enhance"
- "improvement"
- "upgrade"
documentation:
- "docs"
- "readme"
- "manual"

# ---------------------------
# Labels based on types
# ---------------------------
type/bug:
- "*.bugfix"
type/feature:
- "*.feature"
type/refactor:
- "*.refactor"

# ---------------------------
# Labels based on priority
# ---------------------------
priority/high:
- "**/critical/**"
priority/medium:
- "**/important/**"
priority/low:
- "**/optional/**"

# ---------------------------
# Labels based on status
# ---------------------------
status/in-progress:
- "WIP"
- "work in progress"
- "incomplete"
status/review:
- "needs review"
- "review required"
status/done:
- "completed"
- "finished"

0 comments on commit 38b280e

Please sign in to comment.