gitlab-org--gitlab-foss/danger
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
..
changelog Drop WIP from changelog command in Danger comment 2018-08-24 20:54:55 +00:00
changes_size Autocorrect RuboCop violations in danger/**/Dangerfile 2018-07-11 14:44:35 -05:00
commit_messages Relax the subject line requirements for commits 2018-09-19 15:27:50 +02:00
database Create helper to get all changed files 2018-10-22 11:04:55 +02:00
documentation Create helper to get all changed files 2018-10-22 11:04:55 +02:00
eslint Create helper to get all changed files 2018-10-22 11:04:55 +02:00
frozen_string Make the frozen_string Danger check more resilient 2018-07-25 14:32:44 -07:00
gemfile Autocorrect RuboCop violations in danger/**/Dangerfile 2018-07-11 14:44:35 -05:00
metadata Fix wording in Danger warning about MRs to non-master 2018-09-04 09:57:22 +01:00
plugins Create helper to get all changed files 2018-10-22 11:04:55 +02:00
prettier Create helper to get all changed files 2018-10-22 11:04:55 +02:00
specs Improve danger/specs/Dangerfile by not requiring new specs if specific labels are applied 2018-07-17 09:43:47 +02:00