mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 10:11:23 +02:00
parent
12c3f4437f
commit
98229b25a0
@ -50,6 +50,8 @@ func (r *Repo) IsRemote() bool {
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "git@"):
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "gitlab@"):
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "http://"):
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "https://"):
|
||||
@ -77,6 +79,10 @@ func (r *Repo) IsGit() bool {
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "ssh://git@"):
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "gitlab@"):
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "ssh://gitlab@"):
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "https://github"):
|
||||
return true
|
||||
case strings.HasPrefix(r.Path, "http://github"):
|
||||
|
Loading…
Reference in New Issue
Block a user