File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -217,13 +217,16 @@ function renderMarkdown(stats, topRepos) {
217217 lines . push ( "" ) ;
218218 lines . push ( `| Repository | Commits | Open Issues | Open PRs | Stars | Forks |` ) ;
219219 lines . push ( `|---|---:|---:|---:|---:|---:|` ) ;
220- for ( const r of topRepos ) {
221- lines . push (
222- `| [${ r . name } ](https://github.com/${ ORG } /${ r . name } ) | ${ fmt ( r . commits ) } | ${ fmt (
223- r . issuesOpen
224- ) } | ${ fmt ( r . prsOpen ) } | ${ fmt ( r . stars ) } | ${ fmt ( r . forks ) } |`
225- ) ;
226- }
220+ for ( const r of topRepos ) {
221+ const repoLabel = r . isPrivate
222+ ? "🔒 Private repo"
223+ : `[${ r . name } ](https://github.com/${ ORG } /${ r . name } )` ;
224+
225+ lines . push (
226+ `| ${ repoLabel } | ${ fmt ( r . commits ) } | ${ fmt ( r . issuesOpen ) } | ${ fmt ( r . prsOpen ) } | ${ fmt ( r . stars ) } | ${ fmt ( r . forks ) } |`
227+ ) ;
228+ }
229+
227230 lines . push ( `</details>` ) ;
228231 lines . push ( "" ) ;
229232 }
You can’t perform that action at this time.
0 commit comments