diff --git a/Dangerfile b/Dangerfile index 4aaefb8a0..614b16ef9 100644 --- a/Dangerfile +++ b/Dangerfile @@ -21,7 +21,7 @@ warn("This is a big PR, please consider splitting it up to ease code review.") i # Changelog entries are required for changes to source files. no_changelog_entry = !git.modified_files.include?("CHANGELOG.md") -if has_changes_in_source_directory && no_changelog_entry && not_declared_trivial +if has_changes_in_source_directory && no_changelog_entry && !declared_trivial fail("Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.") end