Run danger in dry_run mode
This MR adds a new input parameter dry_run
to run Danger in "local only git repo" mode without accessing CI source GitLab.
From See https://danger.systems/reference "Local repo":
Handles interacting with local only plugin inside a Dangerfile. It is support pluggin for dry_run command and does not expose any methods. But you can still use other plugins like git
It's off by default by useful for some projects like https://gitlab.com/gitlab-org/gitlab/-/blob/d67e0ead70921a5f84dbeac60fac4401e7a9d86d/.gitlab/ci/includes/gitlab-com/danger-review.gitlab-ci.yml#L20.
Related to gitlab-org/gitlab!152943 (merged).
How to verify in CI?
Edited by Peter Leitzen