Skip to content

Commit 748fe25

Browse files
Update finalize-scoring.yml
1 parent 317a5a8 commit 748fe25

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/finalize-scoring.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,17 @@ jobs:
7878
});
7979
}
8080
81-
if (currentLabels.includes("pending-review")) {
82-
await github.rest.issues.removeLabel({
83-
owner,
84-
repo,
85-
issue_number,
86-
name: "pending-review"
87-
});
81+
// 🧼 Remove temporary review-phase labels
82+
const labelsToRemove = ["pending-review", "under-review", "scoring-in-progress"];
83+
for (const label of labelsToRemove) {
84+
if (currentLabels.includes(label)) {
85+
await github.rest.issues.removeLabel({
86+
owner,
87+
repo,
88+
issue_number,
89+
name: label
90+
});
91+
}
8892
}
8993
9094
if (finalLabel === "rejected") {

0 commit comments

Comments
 (0)