Skip to content

Commit

Permalink
Fix message title from/to target branches (#21)
Browse files Browse the repository at this point in the history
thx!
  • Loading branch information
dennis-lee authored Sep 17, 2022
1 parent fe4a6be commit fb9452f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SlackPrNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (makePretty) {
block_id: "commit_title",
text: {
type: "mrkdwn",
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions
}
},
{
Expand Down Expand Up @@ -85,7 +85,7 @@ else if (makeCompact) {
block_id: "commit_title",
text: {
type: "mrkdwn",
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions SlackPrNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (makePretty) {
block_id: "commit_title",
text: {
type: "mrkdwn",
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions
}
},
{
Expand Down Expand Up @@ -88,7 +88,7 @@ if (makePretty) {
block_id: "commit_title",
text: {
type: "mrkdwn",
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + baseBranchText + "* to *" + compareBranchText + "*." + mentions
text: "*<" + prUrl + "|" + prTitle + ">* #" + prNum + " from *" + compareBranchText + "* to *" + baseBranchText + "*." + mentions
}
},
{
Expand Down

0 comments on commit fb9452f

Please sign in to comment.