Skip to content

Commit 0a1cc84

Browse files
authored
Merge pull request #136 from wh201906/mentions
Reduce unnecessary mentions
2 parents 6b4d566 + 70b1169 commit 0a1cc84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pullrequest/pullRequestCommentContent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function dco(signed: boolean, committerMap: CommitterMap): string {
3636

3737
if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) {
3838
text += `**${committerMap.signed.length}** out of **${committerMap.signed.length + committerMap.notSigned.length}** committers have signed the DCO.`
39-
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: @${signedCommitter.name}` })
39+
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` })
4040
committerMap.notSigned.forEach(unsignedCommitter => {
4141
text += `<br/>:x: @${unsignedCommitter.name}`
4242
})
@@ -78,7 +78,7 @@ function cla(signed: boolean, committerMap: CommitterMap): string {
7878

7979
if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) {
8080
text += `**${committerMap.signed.length}** out of **${committerMap.signed.length + committerMap.notSigned.length}** committers have signed the CLA.`
81-
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: @${signedCommitter.name}` })
81+
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` })
8282
committerMap.notSigned.forEach(unsignedCommitter => {
8383
text += `<br/>:x: @${unsignedCommitter.name}`
8484
})

0 commit comments

Comments
 (0)