Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scm/github/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,12 @@ func (c *client) ListUserRepos(u *library.User) ([]*library.Repo, error) {

// iterate through each repo for the user
for _, repo := range r {
// skip if the repo is void
// fixes an issue with GitHub replication being out of sync
if repo == nil {
continue
}

// skip if the repo is archived or disabled
if repo.GetArchived() || repo.GetDisabled() {
continue
Expand Down