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

Use tag annotation if present when sending notifications #243

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -332,11 +332,11 @@ public void handleNewBranch(HostedRepository repository, List<Commit> commits, B
}

var subject = newBranchSubject(repository, commits, parent, branch);
var lastCommit = commits.get(commits.size() - 1);
var finalAuthor = commits.size() > 0 ? commitToAuthor(commits.get(commits.size() - 1)) : sender;

var email = Email.create(subject, writer.toString())
.sender(sender)
.author(commitToAuthor(lastCommit))
.author(finalAuthor)
.recipient(recipient)
.headers(headers)
.build();
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.