summaryrefslogtreecommitdiff
path: root/danger
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-02-14 16:45:53 +0000
committerNick Thomas <nick@gitlab.com>2019-02-14 23:52:30 +0000
commit9afc4f9d11c83a2371c7f7356ec66b01f5b519b6 (patch)
treeb93c16fce722ab209e4840ca69e47b18de6638b2 /danger
parentbbd0a2ce91f2d43350382c7ce83729f33c39c125 (diff)
downloadgitlab-ce-9afc4f9d11c83a2371c7f7356ec66b01f5b519b6.tar.gz
Reviewer roulette ignores changelogs
Diffstat (limited to 'danger')
-rw-r--r--danger/roulette/Dangerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/danger/roulette/Dangerfile b/danger/roulette/Dangerfile
index 5c3d7a4ca49..6cf54d0f854 100644
--- a/danger/roulette/Dangerfile
+++ b/danger/roulette/Dangerfile
@@ -53,6 +53,9 @@ def build_list(items)
end
changes = helper.changes_by_category
+
+# Ignore any files that are known but uncategoried. Prompt for any unknown files
+changes.delete(:none)
categories = changes.keys - [:unknown]
unless changes.empty?