Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ pull_request_rules:
actions:
merge:
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}

commit_message_format:
title: pr-title
body: pr-body
Comment on lines +35 to +37

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 PR number dropped from squash commit titles

The old template produced titles like Fix some bug (#42) by explicitly appending (#{{ number }}). The new title: pr-title maps to the bare PR title with no number appended, so all future squash commits will silently lose the PR reference. Anyone using git log or git bisect to trace a commit back to a PR will no longer have that link in the message itself. Consider whether title: pr-title-number (if supported) or a custom title template that preserves the number would better match the original intent.

- name: backport to develop
conditions:
- label="backport develop"
Expand Down
Loading