Skip to content

Commit

Permalink
fix: Ignore any archived github repos
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Sep 27, 2024
1 parent e519ae6 commit 02fc98b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/pkg/docmerge/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ func (a github) GetRepositories(owner string) chan string {
continue
}
for _, repo := range repos {
if repo.Archived != nil && *repo.Archived {
continue
}
ch <- *repo.Name
}
if resp.NextPage == 0 {
Expand Down

0 comments on commit 02fc98b

Please sign in to comment.