mirror of
https://github.com/harness/drone.git
synced 2025-05-20 19:09:59 +08:00
Probe for push tag events
This commit is contained in:
parent
57bcab18a9
commit
83d78f6830
@ -184,7 +184,7 @@ func (r *Gitlab) Activate(user *model.User, repo *model.Repo, link string) error
|
||||
link += "?owner=" + repo.Owner + "&name=" + repo.Name
|
||||
|
||||
// add the hook
|
||||
return client.AddProjectHook(path, link, true, false, true)
|
||||
return client.AddProjectHook(path, link, true, false, true, false)
|
||||
}
|
||||
|
||||
// Deactivate removes a repository by removing all the post-commit hooks
|
||||
|
Loading…
Reference in New Issue
Block a user