diff --git a/dangerfile.js b/dangerfile.js index dc3c70cf..2b281a71 100644 --- a/dangerfile.js +++ b/dangerfile.js @@ -1,9 +1,8 @@ import { message, danger } from "danger" +import { includes } from "lodash" // Add a CHANGELOG entry for app changes const hasChangelog = includes(danger.git.modified_files, "CHANGELOG.md") -const isTrivial = contains((danger.github.pr.body + danger.github.pr.title), "#trivial") - -if (!hasChangelog && !isTrivial) { +if (!hasChangelog) { warn("Please add a `CHANGELOG.md` entry for your changes.") } \ No newline at end of file