From f04d8ebc81f89aa0b862f03d823f99865a26e21f Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Wed, 12 Jun 2024 13:01:29 -0600 Subject: [PATCH] ci(mergify): strip merge commit HTML comments --- .github/PULL_REQUEST_TEMPLATE.md | 22 ++++------------------ .mergify.yml | 12 ++++++++---- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d8e9e25c2c27..dc37a8ed1241 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -8,33 +8,19 @@ closes: #XXXX refs: #XXXX ## Description - - + ### Security Considerations - - + ### Scaling Considerations - ### Documentation Considerations - - + ### Testing Considerations - - + ### Upgrade Considerations - diff --git a/.mergify.yml b/.mergify.yml index aac35a1796cb..af068a547e4d 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,7 +1,11 @@ # Linear queue for the main branch. queue_rules: - name: main - conditions: + commit_message_template: |- + {{ title }} (#{{ number }}) + + {{ body | trim }} + queue_conditions: - base=master # Require integration tests before merging only - or: @@ -30,7 +34,7 @@ pull_request_rules: actions: queue: name: main - method: merge + merge_method: merge - name: rebase updates then merge to master conditions: - base=master @@ -49,7 +53,7 @@ pull_request_rules: actions: queue: name: main - method: merge + merge_method: merge update_method: rebase - name: squash to master conditions: @@ -69,4 +73,4 @@ pull_request_rules: actions: queue: name: main - method: squash + merge_method: squash