Skip to content

Commit ed7691c

Browse files
committed
Autolabel PR based on branch names
1 parent 7df63f2 commit ed7691c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/labeler.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
enhancement:
2+
- head-branch: ["^feature/"]
3+
4+
bug:
5+
- head-branch: ["^fix/"]
6+
7+
internal:
8+
- head-branch: ["^chore/"]

.github/workflows/labeler.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)