Skip to content

Commit 75ad323

Browse files
committed
Added versionned labeler
1 parent d0ccdfc commit 75ad323

File tree

3 files changed

+27
-36
lines changed

3 files changed

+27
-36
lines changed

.github/labeler-config.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: "Issue Labeler"
1+
name: Pull Request Labeler
22
on:
33
issues:
4-
types: [opened, edited]
4+
types: [opened]
55
branches:
66
- master
77
pull_request:
8-
types: [opened, edited]
8+
types: [opened]
99
branches:
1010
- master
1111

@@ -20,8 +20,9 @@ jobs:
2020
steps:
2121
- uses: github/issue-labeler@v3.4
2222
with:
23-
configuration-path: .github/labeler-config.yml
24-
enable-versioned-regex: 0
23+
configuration-path: .github/workflows/labeler/labeler-config.yml
24+
enable-versioned-regex: 1
25+
versioned-regex: 'issue_labeler_regex_version=(\d+)'
2526
sync-labels: 0
2627
include-title: 1
2728
include-body: 0
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
bug:
2+
- 'bug'
3+
4+
triage:
5+
- '/.*/'
6+
7+
fabric:
8+
- 'all'
9+
- '\b([Ff][Aa][Bb][Rr][Ii][Cc])\b'
10+
11+
forge:
12+
- 'all'
13+
- '\b([Ff][Oo][Rr][Gg][Ee])\b'
14+
15+
neoforge:
16+
- 'all'
17+
- '\b([Nn][Ee][Oo][Ff][Oo][Rr][Gg][Ee])\b'
18+
19+
"1.20":
20+
- 'any'
21+
- '1\.20(\.\d+|\.x)?'

0 commit comments

Comments
 (0)