From 47429534977705d44ef94b1e683cfcc20db15db5 Mon Sep 17 00:00:00 2001 From: LongyuZhang Date: Mon, 28 Oct 2024 20:31:08 -0400 Subject: [PATCH] Fix TriagerX workflow duplicate prAssignees Fix TriagerX workflow list of duplicate prAssignees Closes: https://github.com/eclipse-openj9/openj9/issues/20425 Signed-off-by: LongyuZhang --- .github/workflows/TriageClosedIssue.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/TriageClosedIssue.yml b/.github/workflows/TriageClosedIssue.yml index 302c7494ffc..beaa71b4f98 100644 --- a/.github/workflows/TriageClosedIssue.yml +++ b/.github/workflows/TriageClosedIssue.yml @@ -67,7 +67,8 @@ jobs: } if (prAssignees.length > 0) { - resultString += `PR Assignees: ${prAssignees.join(', ')}`; + let prUniqueAssignees = [...new Set(prAssignees)]; + resultString += `PR Assignees: ${prUniqueAssignees.join(', ')}`; } else { resultString += `PR Assignees: No one :(`; }