Commit d422f77a authored by alexandre's avatar alexandre

Script to install hooks

parent b15e9ebc
import gitlab
gl = gitlab.Gitlab.from_config()
group = gl.groups.get(8)
for project in group.projects:
for hook in project.hooks.list():
project.hooks.create({'url': '', 'push_events': 1})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment