Skip to content

Commit

Permalink
Don't backup archived GitHub repos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock committed Oct 6, 2022
1 parent 041a5a8 commit 70f4f71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ func Get(conf *types.Conf) []types.Repo {
continue
}

if r.Archived != nil && *r.Archived {
continue
}

if len(repo.Include) == 0 {
if len(includeorgs) > 0 {
if includeorgs[r.GetOwner().GetLogin()] {
Expand Down

0 comments on commit 70f4f71

Please sign in to comment.