Commit Graph

6 Commits

Author SHA1 Message Date
GitLab Bot 27859ed5ea Add latest changes from gitlab-org/gitlab@master 2019-12-12 15:08:41 +00:00
Lin Jen-Shin c90ba127bf Extract roulette to its own module
So it's more modular and extensible
2019-05-30 19:24:28 +08:00
Nick Thomas 77b2ecd2b1
Reviewer roulette via Danger
Make danger pick reviewers and maintainers at random, for feontend,
backend, database, etc, changes, whenever files belonging to those
teams get changed.
2019-02-13 16:41:28 +00:00
Nick Thomas 235fe67bdb
Move the ee? helper method into the helper 2019-02-13 16:30:02 +00:00
Nick Thomas f034a35250
Move change category detection to a helper 2019-02-13 16:30:02 +00:00
Lukas Eipert 253e1818aa
Create helper to get all changed files
Danger apparently has three different objects which could contain files
you often want to check:

 - git.added_files
 - git.modified_files
 - git.renamed_files

The problem: If a file is renamed, `modified_files` contains the file
path before the rename. In some Danger checks we use `added_files` +
`modified_files`, which might contain the deleted paths of renamed
files, but missing the new paths of renamed files.

So we need to consider `renamed_files` as well.
2018-10-22 11:04:55 +02:00