ward

command module
v0.0.0-...-56cd9bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: MIT Imports: 14 Imported by: 0

README ΒΆ

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.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL