Skip to content

Commit 4f3ec55

Browse files
committed
merge branch 'main' of github.com:HGWright/python-stratify into auto_pr_labels
* 'main' of github.com:HGWright/python-stratify: testing auto-label gha 16 testing auto-label gha 15 testing auto-label gha 14 testing auto-label gha 13 testing auto-label gha 12 testing auto-label gha 11 testing auto-label gha 10 testing auto-label gha 9 testing auto-label gha 8 testing auto-label gha 7 testing auto-label gha 6 testing auto-label gha 5 testing auto-label gha 4 testing auto-label gha 3 testing auto-label gha 2 testing auto-label gha essage
2 parents 86d83fc + 17c425a commit 4f3ec55

File tree

3 files changed

+80
-0
lines changed

3 files changed

+80
-0
lines changed

.github/labeler.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
'Type: Dependencies':
2+
- '(dependencies|deps|dependency)'
3+
4+
'Type: Documentation':
5+
- '(documentation|docs)'
6+
7+
'Type: GHA':
8+
- '(gha|github action)'
9+
10+
'Type: Infrastructure':
11+
- '(dependencies|dependency|deps|documentation|docs|gha|github action|testing|tests|coverage)'
12+
13+
'Type: Testing':
14+
- '(testing|tests|coverage)'
15+
16+
'Type: Bug':
17+
- '(bug|patch|fix)'
18+
19+
'Type: Enhancement':
20+
- '(feature)'
21+
22+
'Type: Performance':
23+
- '(performance)'
24+
25+
'Type: Tech Debt':
26+
- '(debt)'
27+
28+
'Type: Question':
29+
- '(question)'

.github/pull_request_labeler.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
'Type: Dependencies':
2+
- requirements/stratify.yml
3+
- requirements/py*.yml
4+
- requirements/pypi*.txt
5+
- requirements/locks/py*.txt
6+
7+
'Type: Documentation':
8+
- README.md
9+
- index.ipynb
10+
11+
'Type: GHA':
12+
- .github/*.yml
13+
- .github/**/*.yml
14+
15+
'Type: Infrastructure':
16+
- '*'
17+
18+
'Type: Testing':
19+
- src/stratify/tests/*

.github/workflows/ci-label.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Reference
2+
# - https://github.com/actions/labeler
3+
# - https://github.com/github/issue-labeler
4+
5+
name: ci-label
6+
7+
on:
8+
pull_request_target:
9+
types: [opened, edited, reopened]
10+
issues:
11+
types: [opened, edited, reopened]
12+
13+
permissions:
14+
issues: write
15+
pull-requests: write
16+
contents: read
17+
18+
jobs:
19+
issue_triage:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/labeler@v4
23+
with:
24+
configuration-path: .github/pull_request_labeler.yml
25+
repo-token: ${{ secrets.GITHUB_TOKEN }}
26+
27+
- uses: github/issue-labeler@v3.1
28+
with:
29+
configuration-path: .github/labeler.yml
30+
enable-versioned-regex: 0
31+
repo-token: ${{ secrets.GITHUB_TOKEN }}
32+
include-title: 1

0 commit comments

Comments
 (0)