tanuki v0.2.0 Tanuki.Projects.GitHooks
Interact with git hooks (EE only)
Summary
Functions
POST /projects/:id/git_hooks
DELETE /projects/:id/git_hooks
GET /projects/:id/git_hooks
PUT /projects/:id/git_hooks
Functions
POST /projects/:id/git_hooks
Adds a git hook to a specified project.
Parameters:
- deny_delete_tag - Do not allow users to remove git tags with git push
- commit_message_regex - Commit message regex
DELETE /projects/:id/git_hooks
Removes a git hook from a project. This is an idempotent method and can be called multiple times. Either the git hook is available or not.