Skip to content

Commit

Permalink
Removed changelog check from Danger.
Browse files Browse the repository at this point in the history
This is now handled by Peril.
  • Loading branch information
ashfurrow authored May 1, 2018
1 parent 67a850b commit bddedaa
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Sometimes it's a README fix, or something like that - which isn't relevant for
# including in a project's CHANGELOG for example
declared_trivial = github.pr_title.include? "#trivial"

# Make it more obvious that a PR is a work in progress and shouldn't be merged yet
warn("PR is classed as Work in Progress") if github.pr_title.include? "WIP"

Expand All @@ -12,8 +8,5 @@ warn("Big PR") if git.lines_of_code > 150
fail("fdescribe left in tests") if `grep -r fdescribe specs/ `.length > 1
fail("fit left in tests") if `grep -r fit specs/ `.length > 1

# Require a changelog entry
warn("No CHANGELOG changes made") if !git.modified_files.include?("CHANGELOG.md") && !declared_trivial

swiftlint.config_file = '.swiftlint.yml'
swiftlint.lint_files

0 comments on commit bddedaa

Please sign in to comment.