Create/.github/config/labels.yml
douira 0588dd5124
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.
2023-03-07 13:28:26 -08:00

13 lines
174 B
YAML

1.14:
- '1\.14(?:\.\d)?'
1.15:
- '1\.15(?:\.\d)?'
1.16:
- '1\.16(?:\.\d)?'
1.17:
- '1\.17(?:\.\d)?'
1.18:
- '1\.18(?:\.\d)?'
1.19:
- '1\.19(?:\.\d)?'