diff --git a/.github/workflows/slash-command-merge.yml b/.github/workflows/slash-command-merge.yml index e12bd2e5e41..b6f96911569 100644 --- a/.github/workflows/slash-command-merge.yml +++ b/.github/workflows/slash-command-merge.yml @@ -52,6 +52,7 @@ jobs: } let [ body, body_tail ] = pr_info.body.split(/^---\s*$/m, 2); + body = body.replace(/<\!--.*?-->/s, ""); body = body.trimEnd(); body_tail = body_tail?.trimEnd() || ''; // Only runs when the PR is still open and is not staged for merging.