-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto labels for PR's and issues (#130)
* testing auto-label gha * testing auto-label gha 2 * testing auto-label gha 3 * testing auto-label gha 4 * testing auto-label gha 5 * testing auto-label gha 6 * testing auto-label gha 7 * testing auto-label gha 8 * testing auto-label gha 9 * testing auto-label gha 10 * testing auto-label gha 11 * testing auto-label gha 12 * testing auto-label gha 13 * testing auto-label gha 14 * testing auto-label gha 15 * testing auto-label gha 16 * added checks for capltalisation and removed unnecessary permissions
- Loading branch information
Showing
3 changed files
with
76 additions
and
0 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,29 @@ | ||
'Type: Dependencies': | ||
- '(depende|deps|Deps|Depende)' | ||
|
||
'Type: Documentation': | ||
- '(documentation|Docs|Documentation|Docs)' | ||
|
||
'Type: GHA': | ||
- '(gha|github action|GHA|Github Action|Github action)' | ||
|
||
'Type: Infrastructure': | ||
- '(depende|deps|Deps|Depende|documentation|Docs|Documentation|Docs|gha|github action|GHA|Github Action|Github action|testing|tests|coverage|Testing|Tests|Coverage)' | ||
|
||
'Type: Testing': | ||
- '(testing|tests|coverage|Testing|Tests|Coverage)' | ||
|
||
'Type: Bug': | ||
- '(bug|patch|fix|Bug|Fix|Patch)' | ||
|
||
'Type: Enhancement': | ||
- '(feature|Feature)' | ||
|
||
'Type: Performance': | ||
- '(performance|Performance)' | ||
|
||
'Type: Tech Debt': | ||
- '(debt|Debt)' | ||
|
||
'Type: Question': | ||
- '(question|Question)' |
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,19 @@ | ||
'Type: Dependencies': | ||
- requirements/stratify.yml | ||
- requirements/py*.yml | ||
- requirements/pypi*.txt | ||
- requirements/locks/py*.txt | ||
|
||
'Type: Documentation': | ||
- README.md | ||
- index.ipynb | ||
|
||
'Type: GHA': | ||
- .github/*.yml | ||
- .github/**/*.yml | ||
|
||
'Type: Infrastructure': | ||
- '*' | ||
|
||
'Type: Testing': | ||
- src/stratify/tests/* |
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,28 @@ | ||
# Reference | ||
# - https://github.com/actions/labeler | ||
# - https://github.com/github/issue-labeler | ||
|
||
name: ci-label | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, edited, reopened] | ||
issues: | ||
types: [opened, edited, reopened] | ||
|
||
jobs: | ||
issue_triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
configuration-path: .github/pull_request_labeler.yml | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: github/[email protected] | ||
with: | ||
configuration-path: .github/labeler.yml | ||
enable-versioned-regex: 0 | ||
include-title: 1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
sync-labels: 1 |