Don't require projects to contain Gemfile when using danger-review job
What does this MR do?
This MR triggers bundle init
and adds gitlab-dangerfiles
as a dependencies for the job danger-review
if the project does not contain Gemfile
.
Pin version of danger
when GITLAB_DANGERFILES_VERSION
is set.
Check-list
Project with Gemfile and Gemfile.lock
|
Project without Gemfile - latest version 3.1.0
|
Project without Gemfile - pinned version 3.0.0
|
---|---|---|
https://gitlab.com/gitlab-org/quality/pipeline-common/-/jobs/2573854313#L106 | https://gitlab.com/gitlab-org/gitlab-ui/-/jobs/2573971479#L109 | https://gitlab.com/gitlab-org/gitlab-ui/-/jobs/2573994940#L109 |
-
Verify the change in all affected pipelines.
Edited by Peter Leitzen