Skip to content

Commit

Permalink
Standardise files with files in sous-chefs/repo-management
Browse files Browse the repository at this point in the history
Signed-off-by: Xorima Bot <[email protected]>
  • Loading branch information
xorimabot committed May 15, 2020
1 parent 87b80c7 commit 768abe7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ if !git.modified_files.include?('CHANGELOG.md') && code_changes?
failure 'Please include a CHANGELOG entry.'
end

# Require Major Minor Patch version labels
unless github.pr_labels.grep /minor|major|patch/i
failure 'Please add a release label to this pull request'
end

# A sanity check for tests.
if git.lines_of_code > 5 && code_changes? && !test_changes?
warn 'This Pull Request is probably missing tests.'
Expand Down

0 comments on commit 768abe7

Please sign in to comment.