Skip to content
Snippets Groups Projects
Commit a548837b authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: maintainer_can_modify for forked PRs

Closes #2476
parent ed0bb876
No related branches found
No related tags found
No related merge requests found
......@@ -798,6 +798,7 @@ async function createPr(
// istanbul ignore if
if (config.forkToken) {
options.token = config.forkToken;
options.body.maintainer_can_modify = true;
}
logger.debug({ title, head, base }, 'Creating PR');
const pr = (await get.post(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment