Skip to content

Commit a5063fe

Browse files
committed
do not include archived repos in HR repo list
1 parent 9e5ae9b commit a5063fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extract-horizontal-reviews.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const hrLabelRegexp = new RegExp(/-(tracker|needs-resolution)$/);
88
const isHRLabel = n => n.name.match(hrLabelRegexp);
99

1010
console.log(JSON.stringify(
11-
repos.filter(r => r.labels && r.labels.find(isHRLabel) ||
11+
repos.filter(r => !r.isArchived && r.labels && r.labels.find(isHRLabel) ||
1212
(r.w3c && r.w3c["repo-type"]
1313
&& (r.w3c["repo-type"] === "rec-track" ||
1414
r.w3c["repo-type"].includes("rec-track"))))

0 commit comments

Comments
 (0)