-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(python): introduce issue labeler bot
- Loading branch information
Showing
4 changed files
with
161 additions
and
6 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
139 changes: 139 additions & 0 deletions
139
template/py/{{cookiecutter.project_slug}}/.github/configs/labeler-issues.yml
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,139 @@ | ||
# Label issues related to bugs | ||
bug: | ||
- '*bug*' | ||
- '*error*' | ||
- '*fail*' | ||
- '*failure*' | ||
- '*issue*' | ||
- '*crash*' | ||
- '*problem*' | ||
- '*fault*' | ||
- '*defect*' | ||
- '*break*' | ||
|
||
# Label issues related to new features or enhancements | ||
enhancement: | ||
- '*enhancement*' | ||
- '*feature*' | ||
- '*improve*' | ||
- '*upgrade*' | ||
- '*add*' | ||
- '*implement*' | ||
- '*new feature*' | ||
- '*new functionality*' | ||
|
||
# Label issues related to documentation | ||
documentation: | ||
- '*doc*' | ||
- '*docs*' | ||
- '*readme*' | ||
- '*wiki*' | ||
- '*documentation*' | ||
- '*guide*' | ||
- '*manual*' | ||
- '*instruction*' | ||
|
||
# Label issues related to performance improvements | ||
performance: | ||
- '*performance*' | ||
- '*speed*' | ||
- '*optimize*' | ||
- '*slow*' | ||
- '*lag*' | ||
- '*efficient*' | ||
- '*latency*' | ||
- '*throughput*' | ||
- '*bottleneck*' | ||
|
||
# Label issues related to security concerns | ||
security: | ||
- '*security*' | ||
- '*vulnerability*' | ||
- '*exploit*' | ||
- '*attack*' | ||
- '*secure*' | ||
- '*encryption*' | ||
- '*breach*' | ||
- '*hack*' | ||
- '*malware*' | ||
- '*threat*' | ||
- '*safety*' | ||
|
||
# Label issues related to testing | ||
test: | ||
- '*test*' | ||
- '*testing*' | ||
- '*unittest*' | ||
- '*integration*' | ||
- '*e2e*' | ||
- '*coverage*' | ||
- '*test case*' | ||
- '*regression*' | ||
- '*qa*' | ||
- '*validation*' | ||
|
||
# Label issues related to user interface or design | ||
design: | ||
- '*ui*' | ||
- '*ux*' | ||
- '*interface*' | ||
- '*design*' | ||
- '*layout*' | ||
- '*style*' | ||
- '*aesthetic*' | ||
- '*visual*' | ||
- '*user experience*' | ||
- '*user interface*' | ||
|
||
# Label issues related to configuration or setup | ||
configuration: | ||
- '*config*' | ||
- '*configuration*' | ||
- '*setup*' | ||
- '*install*' | ||
- '*installation*' | ||
- '*environment*' | ||
- '*settings*' | ||
- '*initialization*' | ||
- '*deployment*' | ||
- '*setup guide*' | ||
|
||
# Label issues related to dependencies or third-party libraries | ||
dependencies: | ||
- '*dependency*' | ||
- '*dependencies*' | ||
- '*package*' | ||
- '*library*' | ||
- '*upgrade*' | ||
- '*update*' | ||
- '*module*' | ||
- '*plugin*' | ||
- '*third-party*' | ||
- '*external*' | ||
- '*vendor*' | ||
|
||
# Label issues that are questions or require further discussion | ||
question: | ||
- '*question*' | ||
- '*inquiry*' | ||
- '*how to*' | ||
- '*help*' | ||
- '*support*' | ||
- '*clarification*' | ||
- '*query*' | ||
- '*why*' | ||
- '*what*' | ||
- '*who*' | ||
- '*where*' | ||
|
||
# Label issues related to accessibility concerns | ||
accessibility: | ||
- '*accessibility*' | ||
- '*a11y*' | ||
- '*inclusive*' | ||
- '*assistive*' | ||
- '*screen reader*' | ||
- '*accessible*' | ||
- '*disability*' | ||
- '*inclusive design*' | ||
- '*equal access*' |
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
18 changes: 18 additions & 0 deletions
18
template/py/{{cookiecutter.project_slug}}/.github/workflows/labeler-issues.yml
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,18 @@ | ||
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 | ||
enable-versioned-regex: 0 | ||
include-title: 1 |