fix: use Description section for commit message, if it exists
Alter the mergify configuration to use the "Description" section from the PR description if it's present, otherwise the whole PR description.
@@ -32,7 +32,7 @@ pull_request_rules:
commit_message_template: |
{{ title }} (#{{ number }})
- {{ body }}
+ {{ body | get_section('# Description', default=body) }}
delete_head_branch: {}
- name: Clean up automerge tags
conditions:
