Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Raghav Kaul <raghavkaul@google.com>
  • Loading branch information
raghavkaul authored and jeffmendoza committed Nov 21, 2023
1 parent 210e999 commit 5bc0d49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/enforce/enforce.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,10 @@ func isRepositoryEmptyReal(ctx context.Context, c *github.Client, owner, repo, p
Str("repo", repo).
Str("area", policy).
Msg("Repository is empty, skipping")
return true, nil
}

return true, nil
return false, nil
}

// runPoliciesReal enforces policies on the provided repo. It is meant to be called
Expand Down

0 comments on commit 5bc0d49

Please sign in to comment.