mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Fix private repo detection
This commit is contained in:
parent
f889a29482
commit
da597626dd
1 changed files with 3 additions and 0 deletions
|
@ -101,7 +101,10 @@ func (r *Gitlab) Repo(u *common.User, owner, name string) (*common.Repo, error)
|
|||
|
||||
if r.PrivateMode {
|
||||
repo.Private = true
|
||||
} else {
|
||||
repo.Private = !repo_.Public
|
||||
}
|
||||
|
||||
return repo, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue