Automate routine work with reviewing Merge Requests.
Part of the @kira
bots family.
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!
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.
You would need to set:
DANGER_GITLAB_API_TOKEN
token
Optional variables:
DANGER_PLATFORMS
defines a set of platform specific rules, seedanger-platforms/
for more information, eg:elixir,django
DANGER_LOCALFILE
defines a file relative to the reviewed repo, where to look for local rules