tests at code review level. It gives you the ability to write tests that say: “has this file changed?”, ”does the contents of new files include this string?”…” 3 Ortha Therox
warn("Big PR, try to keep changes smaller if you can") if git.lines_of_code > 500 7 # 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" # Changelog entries are required for changes to library files. no_changelog_entry = !git.modified_files.include?("Changelog.md") if has_app_changes && no_changelog_entry && not_declared_trivial warn("Any changes to library code should be reflected in the Changelog.") end