ci: Update labeler workflow

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-07-24 10:12:42 +02:00
parent a66ace3641
commit 25e2c34582
No known key found for this signature in database
GPG Key ID: 228A77789D71A6E2

View File

@ -32,9 +32,10 @@ jobs:
with:
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
configJSON: |
{
"labels": {
"meta-incorrect-title": {
"name": "meta-incorrect-title",
"kind:incorrect-title": {
"name": "kind:incorrect-title",
"colour": "#ffb700",
"description": "Incorrect title"
}
@ -48,7 +49,7 @@ jobs:
},
"pr": {
"labels": {
"meta-incorrect-title": {
"kind:incorrect-title": {
"requires": 2,
"conditions": [
{
@ -57,7 +58,7 @@ jobs:
},
{
"type": "titleMatches",
"pattern": "^(?!\\[[a-z0-9]+\\]\\s[A-Z0-9].+).+"
"pattern": "^(?!\[[a-z0-9]+\]\s[A-Z0-9].+).+"
}
]
}
@ -65,3 +66,4 @@ jobs:
}
}
]
}