diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-04-23 12:53:05 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-04-23 15:59:58 +0300 |
commit | 820958bf9c58bf36fa07d7b7fe196c06e4463e1f (patch) | |
tree | c2849b807a79337c264b47e298ac8334a676baa0 /.gitlab-ci.yml | |
parent | f7fa70ae1c601d9bfde7583a06406d1973bf58ea (diff) |
Use danger-gitlab to auto review merge requests
Given failures to check simple things in the past, like if a changelog
was present, danger-gitlab is introduced to automatically perform these
tasks.
A warning was added when a changelog entry is skipped, and failures are
due to missing MR descriptions or gitaly-proto versions being incorrect.
To force diff highlighting to work, `.gitattributes` was added.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index deed4ed78..a2ed59b72 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,13 @@ verify: script: - make verify +danger-review: + stage: build + script: + - git version + - gem install danger-gitlab --no-document + - danger + .ruby_template: &ruby_definition before_script: # Override gemfile config (for some reasong `config --delete` doesn't do it) |