Skip to content

Commit b83b867

Browse files
Merge pull request #69 from w3c/no-private
Filter out private repos
2 parents 9ef5412 + eecc00f commit b83b867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function validate() {
3939
}
4040
const repos = await github.fetchRepoPage(orgs[index]);
4141
const next = await sequenced(index + 1);
42-
return repos.concat(next);
42+
return repos.concat(next).filter(r => !r.isPrivate);
4343
}
4444
const allrepos = await sequenced(0);
4545
const fullName = r => r.owner.login + '/' + r.name;
@@ -66,7 +66,7 @@ async function validate() {
6666
const allgroups = new Set();
6767
const groupRepos = {};
6868
for (const r of allrepos) {
69-
if (!r || r.isArchived || r.isPrivate) {
69+
if (!r || r.isArchived) {
7070
continue;
7171
}
7272

0 commit comments

Comments
 (0)