Create labeler.yml

This commit is contained in:
吴多益 2022-03-31 21:32:44 +08:00 committed by GitHub
parent f2d57cbef0
commit c2616ea178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,25 @@
# labeler "simple" schema
# Comment is applied to both issues and pull requests.
# If you need a more robust solution, consider the "full" schema.
comment: |
👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
# Labels is an object where:
# - keys are labels
# - values are array of string patterns to match against title + body in issues/prs
labels:
'bug':
- '\bbug[s]?\b'
'help wanted':
- '\bhelp( wanted)?\b'
'feat':
- '\bfeat\b'
'fix':
- '\bfix\b'
'chore':
- '\bchore\b'
'doc':
- '\bdoc[s]?\b'