From 6785918baa6b4d8dcb8e1f7cfd08d039fa38628c Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Fri, 12 Jun 2020 08:20:01 -0700 Subject: [PATCH] feat(dev-infra): add `#` to outputed list of PRs for discover-new-conflicts Adding in a `#` prepended to each PR number in the list of conflicting PRs found by the discover-new-conflicts script will allow for users to copy paste the output from the script into a github comment and have the PRs automatically link. --- dev-infra/pr/discover-new-conflicts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-infra/pr/discover-new-conflicts/index.ts b/dev-infra/pr/discover-new-conflicts/index.ts index e4dfa6fef3df9..daa1873092238 100644 --- a/dev-infra/pr/discover-new-conflicts/index.ts +++ b/dev-infra/pr/discover-new-conflicts/index.ts @@ -141,7 +141,7 @@ export async function discoverNewConflictsForPr( // Inform about discovered conflicts, exit with failure. error.group(`${conflicts.length} PR(s) which conflict(s) after #${newPrNumber} merges:`); for (const pr of conflicts) { - error(` - ${pr.number}: ${pr.title}`); + error(` - #${pr.number}: ${pr.title}`); } error.groupEnd(); process.exit(1);