我正在尝试通过Gitlab API将钩子添加到新创建的项目中,我可以添加push_events钩子,但我不能添加push_tag_events,它甚至不在文档中,但我可以通过web应用程序添加它。有没有人知道是否可以通过API添加它?Gitlab的版本是6.7.2
发布于 2014-04-05 06:45:16
current code base中没有push_tags_events
的痕迹。
它实际上被称为tag_push_events
(在schema.rb中)
t.boolean "tag_push_events", default: false
spec/models/web_hook_spec.rb
确实使用了
# push_events :boolean default(TRUE), not null
https://stackoverflow.com/questions/22872909
复制