-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commented-out pull-request template ends up in commit messages for merges #10264
Comments
That's not good 😞 |
@weihanglo Yes, it does, within HTML comments. |
Oh I think this is a bors-ism, I believe GitHub strips out the comment when you hit the merge button. Alas though :( |
There's already some similar-looking support in bors for cutting text from PR bodies (https://github.com/rust-lang/homu/blob/cf0674989a2b8be2c6c86e344f5cf1cb9320d049/homu/main.py#L46-L50) -- maybe possible to either use that syntax or a fairly easy patch to add some more human-readable header there. |
@Mark-Simulacrum Ah, that looks like it should work. I'll send in a PR adding that to the PR template. |
I believe this is resolved by #10267. Closing. |
Now that we have a PR template, submitting a pull request (either via the web form or via
gh pr create
) will commonly end up with a commented-out version of the pull request template in the message. This doesn't get rendered in the GitHub web UI, but when bors does a merge, it includes the entire PR template in the commit message for the merge. See dc6d847 for instance.The text was updated successfully, but these errors were encountered: