mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
parent
7b752808ef
commit
c9e587753e
1 changed files with 1 additions and 1 deletions
|
@ -14,5 +14,5 @@ type OwnersAllowlist struct {
|
|||
}
|
||||
|
||||
func (o *OwnersAllowlist) IsAllowed(repo *model.Repo) bool {
|
||||
return len(o.owners) > 0 && o.owners[repo.Owner]
|
||||
return len(o.owners) < 1 || o.owners[repo.Owner]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue