From 4500686c52471f3549c5add25d350f0eeaa36b10 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Thu, 8 Oct 2020 08:27:09 +0200 Subject: [PATCH] fix(dashboard): better Ignored description --- .../__fixtures__/master-issue_with_2_PR_closed_ignored.txt | 4 ++-- lib/workers/repository/dependency-dashboard.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/workers/repository/__fixtures__/master-issue_with_2_PR_closed_ignored.txt b/lib/workers/repository/__fixtures__/master-issue_with_2_PR_closed_ignored.txt index 1330d43649..f96aa04e65 100644 --- a/lib/workers/repository/__fixtures__/master-issue_with_2_PR_closed_ignored.txt +++ b/lib/workers/repository/__fixtures__/master-issue_with_2_PR_closed_ignored.txt @@ -1,8 +1,8 @@ This issue contains a list of Renovate updates and their statuses. -## Closed/Ignored +## Ignored or Blocked -These updates were closed unmerged and will not be recreated unless you click a checkbox below. +These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below. - [ ] <!-- recreate-branch=branchName1 -->pr1 - [ ] <!-- recreate-branch=branchName2 -->pr2 (`dep2`, `dep3`) diff --git a/lib/workers/repository/dependency-dashboard.ts b/lib/workers/repository/dependency-dashboard.ts index 17769450bb..9fa1b5e28f 100644 --- a/lib/workers/repository/dependency-dashboard.ts +++ b/lib/workers/repository/dependency-dashboard.ts @@ -209,9 +209,9 @@ export async function ensureMasterIssue( (branch) => branch.res === ProcessBranchResult.AlreadyExisted ); if (alreadyExisted.length) { - issueBody += '## Closed/Ignored\n\n'; + issueBody += '## Ignored or Blocked\n\n'; issueBody += - 'These updates were closed unmerged and will not be recreated unless you click a checkbox below.\n\n'; + 'These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.\n\n'; for (const branch of alreadyExisted) { const pr = await platform.findPr({ branchName: branch.branchName, -- GitLab