mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-05 09:54:59 +01:00
Update issue-labeler and fix the regex (#4512)
* Fix regex in issue labeler config The regex was wrongly matching extra characters through the use of `.` which matches any character. This also adds the requirement of the match version number being immediately after the `Minecraft Version` section. * update issue-labeler to v3 * Update labels.yml * fix backslashes again * fix that there are actually two newlines * fix escaping again? * use sync labels * use single quotes * use more double backslashes * reduce to test if this works at all * reintroduce minecraft version * doesn't work * try previous version * didn't help * add back the 1.
This commit is contained in:
parent
95afdbed9c
commit
0588dd5124
2 changed files with 8 additions and 7 deletions
12
.github/config/labels.yml
vendored
12
.github/config/labels.yml
vendored
|
@ -1,12 +1,12 @@
|
||||||
1.14:
|
1.14:
|
||||||
- "1.14"
|
- '1\.14(?:\.\d)?'
|
||||||
1.15:
|
1.15:
|
||||||
- "1.15"
|
- '1\.15(?:\.\d)?'
|
||||||
1.16:
|
1.16:
|
||||||
- "1.16"
|
- '1\.16(?:\.\d)?'
|
||||||
1.17:
|
1.17:
|
||||||
- "1.17"
|
- '1\.17(?:\.\d)?'
|
||||||
1.18:
|
1.18:
|
||||||
- "1.18"
|
- '1\.18(?:\.\d)?'
|
||||||
1.19:
|
1.19:
|
||||||
- "1.19"
|
- '1\.19(?:\.\d)?'
|
||||||
|
|
3
.github/workflows/label_issues.yml
vendored
3
.github/workflows/label_issues.yml
vendored
|
@ -7,8 +7,9 @@ jobs:
|
||||||
label:
|
label:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: github/issue-labeler@v2.0
|
- uses: github/issue-labeler@v3.0
|
||||||
with:
|
with:
|
||||||
configuration-path: .github/config/labels.yml
|
configuration-path: .github/config/labels.yml
|
||||||
enable-versioned-regex: 0
|
enable-versioned-regex: 0
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
sync-labels: 1
|
||||||
|
|
Loading…
Reference in a new issue