mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-05-10 18:53:43 +00:00
fix: removed 'powered by..' pr body suffix
This commit is contained in:
parent
0fbe0f6f37
commit
6869becb3e
4 changed files with 4 additions and 10 deletions
4
dist/cli/index.js
vendored
4
dist/cli/index.js
vendored
|
@ -171,7 +171,7 @@ class PullRequestConfigsParser extends configs_parser_1.default {
|
|||
}
|
||||
}
|
||||
const bodyPrefix = args.bodyPrefix ?? `**Backport:** ${originalPullRequest.htmlUrl}\r\n\r\n`;
|
||||
const body = args.body ?? `${originalPullRequest.body}\r\n\r\nPowered by [BPer](https://github.com/lampajr/backporting).`;
|
||||
const body = args.body ?? `${originalPullRequest.body}`;
|
||||
return {
|
||||
author: args.gitUser,
|
||||
title: args.title ?? `[${args.targetBranch}] ${originalPullRequest.title}`,
|
||||
|
@ -181,8 +181,6 @@ class PullRequestConfigsParser extends configs_parser_1.default {
|
|||
targetRepo: originalPullRequest.targetRepo,
|
||||
sourceRepo: originalPullRequest.targetRepo,
|
||||
branchName: args.bpBranchName,
|
||||
// nCommits: 0, // not needed, but required by the
|
||||
// commits: [] // not needed
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue