28b56b7172
This Dangerfile ensures that commit authors write good commit messages. We also prevent the use of Emoji, since these add no value and may not always be displayed properly. Merge commits are currently ignored. In the future we most likely want to stop using these, but this is a separate discussion, hence we ignore them for the time being. The rules enforced by this Dangerfile are based on the article found at https://chris.beams.io/posts/git-commit/. For more information, refer to https://gitlab.com/gitlab-org/gitlab-ce/issues/50003. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/50003
9 lines
468 B
Ruby
9 lines
468 B
Ruby
danger.import_dangerfile(path: 'danger/metadata')
|
|
danger.import_dangerfile(path: 'danger/changes_size')
|
|
danger.import_dangerfile(path: 'danger/changelog')
|
|
danger.import_dangerfile(path: 'danger/specs')
|
|
danger.import_dangerfile(path: 'danger/gemfile')
|
|
danger.import_dangerfile(path: 'danger/database')
|
|
danger.import_dangerfile(path: 'danger/documentation')
|
|
danger.import_dangerfile(path: 'danger/frozen_string')
|
|
danger.import_dangerfile(path: 'danger/commit_messages')
|