gitlab-org--gitlab-foss/danger
Yorick Peterse 28b56b7172
Added Danger file to lint commit messages
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
2018-09-10 14:12:58 +02:00
..
changelog Drop WIP from changelog command in Danger comment 2018-08-24 20:54:55 +00:00
changes_size Autocorrect RuboCop violations in danger/**/Dangerfile 2018-07-11 14:44:35 -05:00
commit_messages Added Danger file to lint commit messages 2018-09-10 14:12:58 +02:00
database Fix regexp for detected `db/schema.rb` and `ee/db/geo/schema.rb` 2018-07-26 10:31:45 +12:00
documentation Add Documentation Dangerfile 2018-09-06 10:50:35 +02:00
frozen_string Make the frozen_string Danger check more resilient 2018-07-25 14:32:44 -07:00
gemfile Autocorrect RuboCop violations in danger/**/Dangerfile 2018-07-11 14:44:35 -05:00
metadata Fix wording in Danger warning about MRs to non-master 2018-09-04 09:57:22 +01:00
specs Improve danger/specs/Dangerfile by not requiring new specs if specific labels are applied 2018-07-17 09:43:47 +02:00