reformat: failure to push does not format message well
See for example this case. It uses markdown like
- Error occurred during reformat action (...): failed to push: failed to push the reformatted branch to git@example.com:group/project.git: remote: GitLab: You are not allowed to force push code to a protected branch on this project.
error: failed to push some refs to 'git@example.com:group/project.git'
which does not render very well:
- Error occurred during reformat action (...): failed to push: failed to push the reformatted branch to git@example.com:group/project.git: remote: GitLab: You are not allowed to force push code to a protected branch on this project.
error: failed to push some refs to 'git@example.com:group/project.git'
IIRC we don't assume markdown here so we may need a way to pass messages back to clients with structure sufficient for them to generate the proper markdown themselves.