Skip to content

wemake-services/kira-review

Repository files navigation

Kira Review Bot

wemake.services kira-family Dependencies Status

Automate routine work with reviewing Merge Requests.

Part of the @kira bots family.

How does it work?

We automate all neat-picking about code style and quality with linters and tools. But how can you automate things like making a MR to the right branch?

That's where this bot shines!

We leverage danger gem to make sure that our developers stick to the rsdp process.

To know all rules we use, read through the Dangerfile list. New rules are welcome!

Gitlab CI setup

Then have a look at the example .gitlab-ci.yml file. You will need to copy the review job and make it a part of your MR pipeline.

Environment variables

You would need to set:

  • DANGER_GITLAB_API_TOKEN token

Optional variables:

  • DANGER_PLATFORMS defines a set of platform specific rules, see danger-platforms/ for more information, eg: elixir,django
  • DANGER_LOCALFILE defines a file relative to the reviewed repo, where to look for local rules