From d47dfe39dc08a06ce04881152df069a8c56aa007 Mon Sep 17 00:00:00 2001 From: casswedson Date: Sat, 16 Mar 2024 09:26:39 -0500 Subject: [PATCH] fix: more strict labeler rules make it mandatory to have: `Summary Features "bla bla bla"` so the examples in the PR template don't trigger the summary labels --- .github/summary-labels.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/summary-labels.yml b/.github/summary-labels.yml index 50803a4a9d936..7a6cc0719bbe3 100644 --- a/.github/summary-labels.yml +++ b/.github/summary-labels.yml @@ -3,23 +3,23 @@ version: v1 labels: - label: "" matcher: - body: ".*Features +\".+\".*" + body: "(\\s|^)#### Summary\\s*Features +\".+\"\\s*(\n|$)" - label: "Info / User Interface" matcher: - body: ".*Interface +\".+\".*" + body: "(\\s|^)#### Summary\\s*Interface +\".+\"\\s*(\n|$)" - label: "Mods" matcher: - body: ".*Mods +\".+\".*" + body: "(\\s|^)#### Summary\\s*Mods +\".+\"\\s*(\n|$)" - label: "Game: Balance" matcher: - body: ".*Balance +\".+\".*" + body: "(\\s|^)#### Summary\\s*Balance +\".+\"\\s*(\n|$)" - label: "" matcher: - body: ".*Bugfixes +\".+\".*" + body: "(\\s|^)#### Summary\\s*Bugfixes +\".+\"\\s*(\n|$)" - label: "" matcher: @@ -27,16 +27,16 @@ labels: - label: "Code: Performance" matcher: - body: ".*Performance +\".+\".*" + body: "(\\s|^)#### Summary\\s*Performance +\".+\"\\s*(\n|$)" - label: "Code: Infrastructure / Style / Static Analysis" matcher: - body: ".*Infrastructure +\".+\".*" + body: "(\\s|^)#### Summary\\s*Infrastructure +\".+\"\\s*(\n|$)" - label: "Code: Build" matcher: - body: ".*Build +\".+\".*" + body: "(\\s|^)#### Summary\\s*Build +\".+\"\\s*(\n|$)" - label: "Translation" matcher: - body: ".*I18N +\".+\".*" + body: "(\\s|^)#### Summary\\s*I18N +\".+\"\\s*(\n|$)""