Skip to content

Commit

Permalink
Merge pull request #57 from gomicro/ignore-archived
Browse files Browse the repository at this point in the history
More Linting
  • Loading branch information
dan9186 authored Feb 28, 2022
2 parents 67ab4f4 + 3b70f4a commit 8944abd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/repos.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ func (c *Client) GetRepos(ctx context.Context, name string) ([]*github.Repositor
for i := range rs {
repoBar.Incr()

if rs[i].GetArchived() {
continue
}

name := strings.ToLower(rs[i].GetName())
_, looseMatch := c.ignoreRepoMap[name]

Expand Down

0 comments on commit 8944abd

Please sign in to comment.