summaryrefslogtreecommitdiff
path: root/danger/database
Commit message (Collapse)AuthorAgeFilesLines
* Create helper to get all changed filesleipert-danger-fix-moved-filesLukas Eipert2018-10-221-3/+1
| | | | | | | | | | | | | | | | 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.
* Fix regexp for detected `db/schema.rb` and `ee/db/geo/schema.rb`Thong Kuah2018-07-261-2/+2
|
* Autocorrect RuboCop violations in danger/**/DangerfileRobert Speicher2018-07-111-1/+0
|
* Wrap DB paths in backticks in the Danger checkRémy Coutable2018-07-111-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix "Database Team" typo for DangerYorick Peterse2018-07-111-1/+1
|
* Tweak the Danger settings for DB changesYorick Peterse2018-07-111-8/+61
| | | | | | Instead of only checking for migrations, we now check for a variety of files and directories that require a database review. We also include some steps on how to make sure changes are reviewed.
* Improve Danger files after first reviewRémy Coutable2018-07-111-13/+28
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Start to use Danger for automating MR reviewsRémy Coutable2018-07-111-0/+16
Signed-off-by: Rémy Coutable <remy@rymai.me>