From 8d1015a106a9bfae83360dbbec427474568d61fa Mon Sep 17 00:00:00 2001 From: masarakki Date: Fri, 13 Feb 2015 14:08:30 +0900 Subject: [PATCH] Change repo to be private when GHE is private mode. --- plugin/remote/github/github.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/remote/github/github.go b/plugin/remote/github/github.go index 6c5bac7a7..cb442fcba 100644 --- a/plugin/remote/github/github.go +++ b/plugin/remote/github/github.go @@ -169,6 +169,7 @@ func (r *GitHub) GetRepos(user *model.User) ([]*model.Repo, error) { if r.Private || repo.Private { repo.CloneURL = *item.SSHURL + repo.Private = true } // if no permissions we should skip the repository