Skip to content

Conversation

@tgross35
Copy link
Contributor

@tgross35 tgross35 commented Jan 26, 2026

There is a bit of a mismatch in the logs since commit messages written by users are typically hardwrapped, while the PR bodies that become Bors commit messages are not. Use a markdown formatter (comrak) to rewrap things.

This matches what GitHub does by default for squash merges.

There is a bit of a mismatch in the logs since commit messages written
by users are typically hardwrapped, while the PR bodies that become Bors
commit messages are not. Use a markdown formatter
([comrak](https://docs.rs/comrak/latest/comrak/)) to rewrap things.

This matches what GitHub does by default for squash merges.
@tgross35 tgross35 marked this pull request as draft January 26, 2026 02:40
@Kobzol
Copy link
Member

Kobzol commented Jan 26, 2026

We already use pulldown-cmark, can't it be done using it? Feels a bit iffy to add a second Markdown parser just for wrapping text.

@tgross35
Copy link
Contributor Author

In progress already :) this was just the first go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants