From c17da35970f935f86ff60cc347017d345b292eb5 Mon Sep 17 00:00:00 2001 From: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com> Date: Sun, 8 Aug 2021 20:05:13 +0100 Subject: [PATCH] Fixes an issue with changelog generation where the default lines would be included in the logs (#60736) * In theory this should fix a bug MSO had in coderbus * Apparently I am a very stupid cat --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- tools/WebhookProcessor/github_webhook_processor.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 2fd5c401a48..4edfdd7fb70 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -13,7 +13,7 @@ :cl: add: Added new mechanics or gameplay changes add: Added more things -expansion: Expands content of an existing thing +expansion: Expands content of an existing feature del: Removed old things qol: made something easier to use balance: rebalanced something diff --git a/tools/WebhookProcessor/github_webhook_processor.php b/tools/WebhookProcessor/github_webhook_processor.php index 98a09aab6fe..03d0e6e8c45 100644 --- a/tools/WebhookProcessor/github_webhook_processor.php +++ b/tools/WebhookProcessor/github_webhook_processor.php @@ -697,7 +697,7 @@ function checkchangelog($payload, $compile = true) { case 'add': case 'adds': case 'rscadd': - if($item != 'Added new things' && $item != 'Added more things') { + if($item != 'Added new mechanics or gameplay changes' && $item != 'Added more things') { $tags[] = 'Mechanic'; $currentchangelogblock[] = array('type' => 'rscadd', 'body' => $item); }