We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a7f585 commit 2508221Copy full SHA for 2508221
.github/workflows/draft-release-notes-on-tag.yaml
@@ -125,7 +125,12 @@ jobs:
125
}
126
function cleanUpTitle(title) {
127
// Remove tags between brackets
128
- return title.replace(/\[[^\]]+\]/g, '')
+ title = title.replace(/\[[^\]]+\]/g, '')
129
+ // Remove cherry-pick prefix
130
+ if (title.startsWith('🍒 ') && title.includes(' - ')) {
131
+ title = title.substring(title.indexOf(' - ') + 3)
132
+ }
133
+ return title
134
135
function format(pullRequest) {
136
var line = `${decorate(pullRequest)}${cleanUpTitle(pullRequest.title)} (#${pullRequest.number} - @${pullRequest.user.login}`
0 commit comments