We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec694ba commit 198bc80Copy full SHA for 198bc80
src/github.ts
@@ -70,6 +70,11 @@ export const createBackportPr = async (
70
},
71
giteaVersion: GiteaVersion,
72
) => {
73
+ let prDescription =
74
+ `Backport #${originalPr.number} by @${originalPr.user.login}`;
75
+ if (originalPr.body) {
76
+ prDescription += "\n\n" + originalPr.body;
77
+ }
78
let response = await fetch(`${GITHUB_API}/repos/go-gitea/gitea/pulls`, {
79
method: "POST",
80
headers: HEADERS,
@@ -82,8 +87,7 @@ export const createBackportPr = async (
82
87
)
83
88
}`,
84
89
base: `release/v${giteaVersion.majorMinorVersion}`,
85
- body:
86
- `Backport #${originalPr.number} by @${originalPr.user.login}\n\n${originalPr.body}`,
90
+ body: prDescription,
91
maintainer_can_modify: true,
92
}),
93
});
0 commit comments