Skip to content

Commit

Permalink
ci: add labeler for issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Aug 19, 2024
1 parent 1517b36 commit 15a38a5
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 0 deletions.
96 changes: 96 additions & 0 deletions .github/configs/labeler-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Label issues related to bugs
bug:
- '*bug*'
- '*error*'
- '*fail*'
- '*issue*'
- '*crash*'
- '*problem*'

# Label issues related to new features or enhancements
enhancement:
- '*enhancement*'
- '*feature*'
- '*improve*'
- '*upgrade*'
- '*add*'
- '*implement*'

# Label issues related to documentation
documentation:
- '*doc*'
- '*docs*'
- '*readme*'
- '*wiki*'
- '*documentation*'

# Label issues related to performance improvements
performance:
- '*performance*'
- '*speed*'
- '*optimize*'
- '*slow*'
- '*lag*'
- '*efficient*'

# Label issues related to security concerns
security:
- '*security*'
- '*vulnerability*'
- '*exploit*'
- '*attack*'
- '*secure*'
- '*encryption*'

# Label issues related to testing
test:
- '*test*'
- '*testing*'
- '*unittest*'
- '*integration*'
- '*e2e*'
- '*coverage*'

# Label issues related to user interface or design
design:
- '*ui*'
- '*ux*'
- '*interface*'
- '*design*'
- '*layout*'
- '*style*'

# Label issues related to configuration or setup
configuration:
- '*config*'
- '*configuration*'
- '*setup*'
- '*install*'
- '*environment*'
- '*settings*'

# Label issues related to dependencies or third-party libraries
dependencies:
- '*dependency*'
- '*dependencies*'
- '*package*'
- '*library*'
- '*upgrade*'
- '*update*'

# Label issues that are questions or require further discussion
question:
- '*question*'
- '*inquiry*'
- '*how to*'
- '*help*'
- '*support*'
- '*clarification*'

# Label issues related to accessibility concerns
accessibility:
- '*accessibility*'
- '*a11y*'
- '*inclusive*'
- '*assistive*'
- '*screen reader*'
17 changes: 17 additions & 0 deletions .github/workflows/labeler-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Issue Labeler"
on:
issues:
types: [ opened, edited ]

permissions:
issues: write
contents: read

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.4
with:
configuration-path: .github/configs/labeler-issues.yml
include-title: 1

0 comments on commit 15a38a5

Please sign in to comment.