Too many blank lines before co-authors if message body is empty
gharlan opened this issue · comments
If the message body is empty (because pr description is empty or body
is configured as empty
) there are too many blank lines between title and co-authors.
Example commit message:
PR title (#issue)
Co-authored-by: ...
To match the GitHub docs we add two new lines before the coauthor trailers.
It seems that GitHub adds an extra space between the commit title and body. I think we can fix the issue you've encountered by trimming any extra whitespace on merge.
#578 has been deployed which should resolve this issue. Let me know if you run into any issues.