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

pr: improve message for unexpected merge commits #693

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -703,7 +703,7 @@ private void addMergeCommitWarningComment(List<Comment> comments) {
}

var message = "⚠️ @" + pr.author().userName() +
" This pull request contains merges that brings in commits not present in the target repository." +
" This pull request contains merges that bring in commits not present in the target repository." +
" Since this is not a \"merge style\" pull request, these changes will be squashed when this pull request in integrated." +
" If this is your intention, then please ignore this message. If you want to preserve the commit structure, you must change" +
" the title of this pull request to `Merge <project>:<branch>` where `<project>` is the name of another project in the" +