From 25e2c34582da02ee5ddc985a95075217da933fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Sat, 24 Jul 2021 10:12:42 +0200 Subject: [PATCH] ci: Update labeler workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- .../workflows/metadata-label-issues-prs.yaml | 62 ++++++++++--------- 1 file changed, 32 insertions(+), 30 deletions(-) diff --git a/.github/workflows/metadata-label-issues-prs.yaml b/.github/workflows/metadata-label-issues-prs.yaml index 6cb0c74a..ae0b7b7e 100644 --- a/.github/workflows/metadata-label-issues-prs.yaml +++ b/.github/workflows/metadata-label-issues-prs.yaml @@ -32,36 +32,38 @@ jobs: with: GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }} configJSON: | - "labels": { - "meta-incorrect-title": { - "name": "meta-incorrect-title", - "colour": "#ffb700", - "description": "Incorrect title" - } - }, - "runners": [ - { - "root": ".", - "versioning": { - "source": "milestones", - "type": "other" - }, - "pr": { - "labels": { - "meta-incorrect-title": { - "requires": 2, - "conditions": [ - { - "type": "creatorMatches", - "pattern": "^(?!renovate).+" - }, - { - "type": "titleMatches", - "pattern": "^(?!\\[[a-z0-9]+\\]\\s[A-Z0-9].+).+" - } - ] + { + "labels": { + "kind:incorrect-title": { + "name": "kind:incorrect-title", + "colour": "#ffb700", + "description": "Incorrect title" + } + }, + "runners": [ + { + "root": ".", + "versioning": { + "source": "milestones", + "type": "other" + }, + "pr": { + "labels": { + "kind:incorrect-title": { + "requires": 2, + "conditions": [ + { + "type": "creatorMatches", + "pattern": "^(?!renovate).+" + }, + { + "type": "titleMatches", + "pattern": "^(?!\[[a-z0-9]+\]\s[A-Z0-9].+).+" + } + ] + } } } } - } - ] + ] + }