-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
104 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# enable labeler on issues, prs, or both. | ||
enable: | ||
issues: true | ||
prs: true | ||
|
||
# comments object allows you to specify a different message for issues and prs | ||
comments: | ||
issues: | | ||
Thanks for opening this issue! | ||
I have applied any labels matching special text in your title and description. | ||
Please review the labels and make any necessary changes. | ||
prs: | | ||
Thanks for the contribution! | ||
I have applied any labels matching special text in your title and description. | ||
Please review the labels and make any necessary changes. | ||
# Labels is an object where: | ||
# - keys are labels | ||
# - values are objects of { include: [ pattern ], exclude: [ pattern ] } | ||
# - pattern must be a valid regex, and is applied globally to | ||
# title + description of issues and/or prs (see enabled config above) | ||
# - 'include' patterns will associate a label if any of these patterns match | ||
# - 'exclude' patterns will ignore this label if any of these patterns match | ||
labels: | ||
# issue | ||
'bug': | ||
include: | ||
- '\bbug[s]?\b' | ||
exclude: [] | ||
'help wanted': | ||
include: | ||
- '\bhelp( me)?\b' | ||
exclude: | ||
- '\b\[test(ing)?\]\b' | ||
# PR | ||
'feat': | ||
include: | ||
- '\bfeat\b' | ||
exclude: [] | ||
'fix': | ||
include: | ||
- '\bfix\b' | ||
exclude: [] | ||
'refactor': | ||
include: | ||
- '\brefactor\b' | ||
exclude: [] | ||
'docs': | ||
include: | ||
- '\bdocs\b' | ||
exclude: [] | ||
'style': | ||
include: | ||
- '\bstyle\b' | ||
exclude: [] | ||
'revert': | ||
include: | ||
- '\brevert\b' | ||
exclude: [] | ||
'test': | ||
include: | ||
- '\btest\b' | ||
exclude: [] | ||
'ci': | ||
include: | ||
- '\bci\b' | ||
exclude: [] | ||
'chore': | ||
include: | ||
- '\bchore\b' | ||
exclude: [] | ||
'pref': | ||
include: | ||
- '\bpref\b' | ||
exclude: [] | ||
'build': | ||
include: | ||
- '\bbuild\b' | ||
exclude: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "autolabeler" | ||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check Labels | ||
id: labeler | ||
uses: jimschubert/labeler-action@v2 | ||
with: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.