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

refactor: Recommend blocking PRs be renamed and not reopened

parent 0b7deb54
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ async function processBranch(branchConfig) { ...@@ -61,7 +61,7 @@ async function processBranch(branchConfig) {
}). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the \`ignoreDeps\` array of your renovate config.`; }). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the \`ignoreDeps\` array of your renovate config.`;
} }
content += content +=
'\n\nIf this PR was closed by mistake or you changed your mind, you can simply reopen or rename it to reactivate Renovate for this dependency version.'; '\n\nIf this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.';
await platform.ensureComment(pr.number, subject, content); await platform.ensureComment(pr.number, subject, content);
if (branchExists) { if (branchExists) {
await platform.deleteBranch(config.branchName); await platform.deleteBranch(config.branchName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment