Commit graph

6 commits

Author SHA1 Message Date
GitLab Bot
80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
Ash McKenzie
9fc9ab2ba2 Add new GitlabDanger class
This class encapsulates our use of the Danger gem.
2019-09-06 11:21:53 +00:00
Ash McKenzie
f34e4545ec Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"
This reverts merge request !32196
2019-09-06 07:14:30 +00:00
Ash McKenzie
70e1a17604
Update some Danger rules to not rely upon CI
Convert a bunch of Danger rules so they can run
locally.
2019-09-06 10:56:54 +10:00
Robert Speicher
f5df4976b6
Make the frozen_string Danger check more resilient
It's possible for a Ruby file to be empty and thus `gets` returns `nil`.

Also indents the Markdown since we're using `<<~` and removes an
unneeded variable.
2018-07-25 14:32:44 -07:00
gfyoung
db00a9c641 Add Dangerfile for frozen_string_literal
Checks that new Ruby files will enable
frozen string literal.

Partially addresses #47424.
2018-07-24 02:17:45 -07:00