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

fix(automerge): don’t delete if pr-comment

Closes #7786
parent 88ad8477
No related branches found
No related tags found
No related merge requests found
......@@ -673,7 +673,7 @@ export async function processBranch(
}
}
const prAutomerged = await checkAutoMerge(pr, config);
if (prAutomerged) {
if (prAutomerged && config.automergeType !== 'pr-comment') {
await deleteBranchSilently(config.branchName);
return ProcessBranchResult.Automerged;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment