mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Override the pr title in case already exists (#6725)
This commit is contained in:
parent
3fd2f22fed
commit
1b39828b46
@ -15,6 +15,9 @@ class PrCreator {
|
||||
if (prs.length < 1) {
|
||||
const { data: pr } = await this.repo.createPullRequest({ title, head, base });
|
||||
return pr.number;
|
||||
} else {
|
||||
// override the title to contains the latest adf dep number
|
||||
prs[0].title = title;
|
||||
}
|
||||
|
||||
return prs[0].number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user