Skip to content
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

Let bors cut body after <details> #74

Merged
merged 1 commit into from Oct 9, 2022

Conversation

matthiasbeyer
Copy link
Member

@matthiasbeyer matthiasbeyer commented Oct 9, 2022

This was set to "---" because I thought it would make life easier for contributors to use the markdown line "---".

It turned out, though, that dependabot uses a <details> tag and puts a lot of HTML in there. We really don't want that in our merge messages.

So this patch changes bors configuration to cut the merge message after the <details> tag.

@matthiasbeyer
Copy link
Member Author

bors merge

bors bot added a commit that referenced this pull request Oct 9, 2022
74: Let bors cut body after <details> r=matthiasbeyer a=matthiasbeyer

This was set to "---" because I thought it would make life easier for contributors to use the markdown line "---".

It turned out, though, that dependabot uses a `

Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
@bors
Copy link
Contributor

bors bot commented Oct 9, 2022

Build failed:

@matthiasbeyer
Copy link
Member Author

Running into #70 here I guess

@petreeftime
Copy link
Collaborator

This bug is super annoying. I don't know what to do to reproduce it. I tried to run it directly on my machine, inside an Ubuntu 20.04 VM, as well as trying to run it inside an Ubuntu 20.04 container, looping 1000x each, and it never reproduced for me.

This was set to "---" because I thought it would make life easier for
contributors to use the markdown line "---".

It turned out, though, that dependabot uses a "<details>" tag and puts a
lot of HTML in there. We really don't want that in our merge messages.

So this patch changes bors configuration to cut the merge message after
the "<details>" tag.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer
Copy link
Member Author

bors merge

@bors
Copy link
Contributor

bors bot commented Oct 9, 2022

Build succeeded:

@bors bors bot merged commit b94b980 into rust-cli:master Oct 9, 2022
@matthiasbeyer matthiasbeyer deleted the bors-cut-body-after-details branch October 9, 2022 12:25
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.

None yet

2 participants