Restricting hook execution

TeamHub executes all active webhooks by default. You can restrict the execution of repository hooks by using case-insensitive regular expressions on reference and path. When set, the hook executes only if the reference pattern matches a branch or a bookmark, and/or if any of the changed paths matches the path pattern.

For examples, to execute a hook only:

Updated on: 19 December 2017