Skip to content

Commit eae4119

Browse files
committed
add: labeler workflow
1 parent 68fc724 commit eae4119

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
documentation:
2+
- changed-files:
3+
- any-glob-to-any-file: "docs/**"
4+
5+
feature:
6+
- head-branch: ["^feature/"]
7+
8+
fix:
9+
- head-branch: ["^fix/"]
10+
11+
hotfix:
12+
- head-branch: ["^hotfix/"]
13+
14+
release:
15+
- head-branch: ["^release/"]

.github/workflows/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Pull Request Labeler
2+
3+
on: pull_request
4+
5+
jobs:
6+
labeler:
7+
runs-on: ubuntu-latest
8+
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
13+
steps:
14+
- uses: actions/labeler@v6

0 commit comments

Comments
 (0)