Skip to content

Negashev/mrbv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

mrbv

Merge request by vote

in Gitlab

Install

  1. add user (bot) to gitlab and add private key with api access

  2. set ENV in project Setting -> CI/CD

    MRBV_BOT_UPVOTE=10

    If you merge need in required upvotes by some users, add variable with user id separated ','.

    And merge will not merge until one of the listed users does not click upvote

    MRBV_REQUIRED_VOTE_IDS=42,326
  3. add access for Bot to you project (or projects by groups)

  4. run bot!

    docker run -it \
    --name merge_bot \
    -e MRBV_URL=https://gitlab.my.company \
    -e MRBV_TOKEN=Joic2lSW-f98sv_das2 \
    negash/mrbv