-1

maybe who knows how I can merge pull request without approve. We use plugins "Approve Check Repository Hook" on Stash. For everybody need 2 approve, but for TeamLead needed some "God mode", when he can merge all pull request without approve. Thank you.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

2 Answers2

1

I don;t think your Team Lead has "God mode". there are 2 ways in which he can do this

  1. He has admin right so he turns off the option to "check for approvers" when he merges and turns it back on. Turning the check on and off is quick and does not send any notification , so there is no way you would know.
  2. He has admin permissions on the target branch (which you don't) so he can just merge via git push instead of git pull
Biswajit_86
  • 3,661
  • 2
  • 22
  • 36
0

I found answer on my question. I asked Java programmers to add this option to plugin "Approve Check Repository Hook" and they rewrite code for me. And now i can add "ignore users" who can merge without approve.

If somebody need this plugin, you can write me. Thx for all