Skip to content

Commit ab50974

Browse files
committed
remove the 'Closes ' string if the PR fails to merge into the combined-pr branch
1 parent c60db53 commit ab50974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export async function run() {
137137
combinedPRs.push(prString)
138138
} catch (error) {
139139
core.warning('Failed to merge branch ' + branch)
140-
mergeFailedPRs.push(prString)
140+
mergeFailedPRs.push(prString.replace('Closes ', ''))
141141
}
142142
}
143143

0 commit comments

Comments
 (0)