@@ -173,6 +173,7 @@ export async function processBranch(
...
@@ -173,6 +173,7 @@ export async function processBranch(
branchPr.number
branchPr.number
);
);
}else{
}else{
// Remove any "PR has been edited" comment only when rebasing
awaitplatform.ensureCommentRemoval({
awaitplatform.ensureCommentRemoval({
number:branchPr.number,
number:branchPr.number,
topic,
topic,
...
@@ -183,6 +184,7 @@ export async function processBranch(
...
@@ -183,6 +184,7 @@ export async function processBranch(
`:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems.`
`:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems.`
);
);
content+=` If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.`;
content+=` If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.`;
content+=`\n\nIf you think this comment is in error and the branch is *not* modified, try deleting this comment. If it comes back again the next time Renovate runs, please submit an issue or seek config help.`;
if (!config.suppressNotifications.includes('prEditNotification')){
if (!config.suppressNotifications.includes('prEditNotification')){
if (config.dryRun){
if (config.dryRun){
logger.info(
logger.info(
...
@@ -198,11 +200,6 @@ export async function processBranch(
...
@@ -198,11 +200,6 @@ export async function processBranch(
}
}
return'pr-edited';
return'pr-edited';
}
}
}else{
awaitplatform.ensureCommentRemoval({
number:branchPr.number,
topic,
});
}
}
}
}
}
}
...
@@ -613,11 +610,6 @@ export async function processBranch(
...
@@ -613,11 +610,6 @@ export async function processBranch(
topic,
topic,
content,
content,
});
});
// TODO: remoe this soon once they're all cleared out
awaitplatform.ensureCommentRemoval({
number:pr.number,
topic:':warning: Lock file problem',
});
}
}
}
}
constcontext=`renovate/artifacts`;
constcontext=`renovate/artifacts`;
...
@@ -651,6 +643,7 @@ export async function processBranch(
...
@@ -651,6 +643,7 @@ export async function processBranch(
'DRY-RUN: Would ensure comment removal in PR #'+pr.number
'DRY-RUN: Would ensure comment removal in PR #'+pr.number
);
);
}else{
}else{
// Remove artifacts error comment only if this run has successfully updated artifacts