Skip to content

Commit 12beea1

Browse files
anonymise private repos
1 parent f6f7e3d commit 12beea1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/update_stats.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
const fs = require("fs");
1111
const path = require("path");
1212
const https = require("https");
13+
const { isPromise } = require("util/types");
1314

1415
const ORG = process.env.ORG || "kir-rescomp";
1516
const GH_TOKEN = process.env.GH_TOKEN || process.env.GITHUB_TOKEN;
@@ -85,6 +86,7 @@ query($org:String!, $after:String, $isFork:Boolean, $privacy:RepositoryPrivacy,
8586
pageInfo { hasNextPage endCursor }
8687
nodes {
8788
name
89+
isPrivate
8890
isFork
8991
isArchived
9092
stargazerCount
@@ -284,6 +286,7 @@ function replaceStatsSection(readme, newBlock) {
284286
prsOpen,
285287
stars,
286288
forks,
289+
isPrivate: r.isPrivate,
287290
});
288291
}
289292

0 commit comments

Comments
 (0)