Team,

I am a newbie to world of Gitlab and hooks. My team follows below approach 
for the product development

1. Have master branch
2. Create a new branch for feature development.
3. Do commits in feature branch.
4. When ready create a merge request to master branch through web interface.
5. Send a mail to team to review the changes.
6. Team can post comments if any.
7. Team lead will merge the changes to master.

In the above steps, we like to add a validation. Before merging team lead 
proceed to merge we like to add a check that changes should have received 
atleast 2 upvotes.  I can see in the webui of the merge request it shows 
the number of up votes.  I am not sure how to create an hook to do this 
validation before any merge. 

Any help on this will be really useful.

Thanks,
-Mani

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/dbb863e5-a701-4702-a562-c5e11ba2c6c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to