From 7266270075d6acbd8ce1b8acf754922b26bba998 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Thu, 13 Jun 2024 20:22:48 +0200 Subject: [PATCH] [IssueModerator] Improve unremoved acknowledgment section detection --- .github/workflows/issue_moderator.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue_moderator.yml b/.github/workflows/issue_moderator.yml index 9a4191c4..4f0320f3 100644 --- a/.github/workflows/issue_moderator.yml +++ b/.github/workflows/issue_moderator.yml @@ -48,7 +48,7 @@ jobs: }, { "type": "body", - "regex": "^(?!## (Meta|Device information|What feature should be added to Suwayomi\\?))", + "regex": "^(?![\\n\\r\\s]*## (Meta|Device information|What feature should be added to Suwayomi\\?))", "message": "The acknowledgment section was not removed" }, {