Browse Source

danger: make CHANGES a suggestion instead of requirement

David Cramer 7 years ago
parent
commit
6b81969374
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dangerfile

+ 1 - 1
Dangerfile

@@ -103,7 +103,7 @@ warn("This change includes modification to a file that was backported from newer
 
 # Reasonable commits must update CHANGES
 if !github.pr_body.include?("#nochanges") && @S_CHANGE_LINES && git.lines_of_code > @S_CHANGE_LINES && !git.modified_files.include?("CHANGES") && checkFilesPattern(@S_CHANGES_REQUIRED_PATTERNS).any?
-    fail("You need to update CHANGES due to the size of this PR")
+    warn("You shoudl update CHANGES due to the size of this PR")
 end
 
 if git.added_files.grep(@S_MIGRATIONS).any?