Skip to content

Commit 62a335c

Browse files
fix: fix PR labeler
1 parent 5cb4546 commit 62a335c

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/pr-labeler.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
enhancement: ['feature:*', 'feat:*']
2-
bug: ['fix:*']
3-
breaking-change: ['*!*']
1+
version: 1
2+
labels:
3+
- label: "enhancement"
4+
title: "feat:*"
5+
- label: "enhancement"
6+
title: "feature:*"
7+
- label: "bug"
8+
title: "fix:*"
9+
- label: "breaking-change"
10+
title: "*!*"
11+

.github/workflows/pull-request-lint.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ jobs:
6565
contents: read
6666
pull-requests: write
6767
steps:
68-
- uses: TimonVS/pr-labeler-action@v4
68+
- uses: srvaroa/labeler@1
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6971
with:
70-
repo-token: ${{ secrets.GITHUB_TOKEN }}
71-
configuration-path: .github/pr-labeler.yml
72+
config_path: .github/pr-labeler.yml

0 commit comments

Comments
 (0)