feat(dev-infra): add #
to outputed list of PRs for discover-new-conflicts (#37556)
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. PR Close #37556
This commit is contained in:
parent
104abe04ba
commit
b45acb8d32
@ -141,7 +141,7 @@ export async function discoverNewConflictsForPr(
|
|||||||
// Inform about discovered conflicts, exit with failure.
|
// Inform about discovered conflicts, exit with failure.
|
||||||
error.group(`${conflicts.length} PR(s) which conflict(s) after #${newPrNumber} merges:`);
|
error.group(`${conflicts.length} PR(s) which conflict(s) after #${newPrNumber} merges:`);
|
||||||
for (const pr of conflicts) {
|
for (const pr of conflicts) {
|
||||||
error(` - ${pr.number}: ${pr.title}`);
|
error(` - #${pr.number}: ${pr.title}`);
|
||||||
}
|
}
|
||||||
error.groupEnd();
|
error.groupEnd();
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user