Skip to content
/ ward Public

GitLab Ward - substitute for Merge Approves.

License

Notifications You must be signed in to change notification settings

Kami-no/ward

Repository files navigation

Ward

Simple bot designed to supplement the free version of GitLab.

Merge Approves

The free version of GitLab has no Merge Approves. Our team required them while has problems with buying it. Bot tracks emoji for MR.

MR to protected branch notifications:

  • MR considered good if it has enough 👍;
  • if MR merged and had not enough qualified 👍 (list is set in its config) than MR is considered bad;
  • if MR has at least one 👎 than MR is considered bad;
  • good MR will be marked by the bot with ✔️;
  • bad MR will be marked by the bot with ❌;
  • if bad MR has been merged bot will mark it with 💩 and will notify people from its list;
  • there could be several qualified teams to approve MR;
  • by default if there is only one team then MR will require at least 2 👍 and if there are multiple teams then at least 1 👍 per team (number of votes per team is customizable at the project level in config).

Old branches

Once a week bot checks its repositories for stale not protected branches that had no changes:

  • wipe merged branches;
  • 1 week or more - notify the author of the last commit;
  • TODO:: 1 month or more - wipe the branch.

About

GitLab Ward - substitute for Merge Approves.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published