Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
ossec-cookbook
Commits
e1165124
Commit
e1165124
authored
May 15, 2020
by
Xorima Bot
Browse files
Standardise files with files in sous-chefs/repo-management
Signed-off-by:
Xorima Bot
<
xorimabot@avon-lea.co.uk
>
parent
c4accf97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dangerfile
View file @
e1165124
...
...
@@ -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.'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment