From 141e941f1bc8efa6a45835cfa30513c04ea3e67d Mon Sep 17 00:00:00 2001 From: Xorima Bot Date: Wed, 20 May 2020 19:54:43 +0000 Subject: [PATCH] Standardise files with files in sous-chefs/repo-management Signed-off-by: Xorima Bot --- Dangerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dangerfile b/Dangerfile index 9602965..bc08b7a 100644 --- a/Dangerfile +++ b/Dangerfile @@ -18,7 +18,7 @@ def code_changes? end def test_changes? - tests = %w(spec test .kitchen.yml .kitchen.dokken.yml) + tests = %w(spec test kitchen.yml kitchen.dokken.yml) tests.each do |location| return true unless git.modified_files.grep(/#{location}/).empty? end @@ -38,7 +38,7 @@ end # Require Major Minor Patch version labels unless github.pr_labels.grep /minor|major|patch/i - failure 'Please add a release label to this pull request' + warn 'Please add a release label to this pull request' end # A sanity check for tests.