It takes a lot of time to fetch when running in merge train
We noticed that when danger-review is running in merge train, it takes a lot of time (17 minutes) to fetch: https://gitlab.com/gitlab-org/gitlab/-/jobs/6989901724
Normally it should only take 2 minutes: https://gitlab.com/gitlab-org/gitlab/-/jobs/6989746611
It looks like it's Danger internally trying to fetch from running this command:
bundle exec danger --fail-on-errors=true --verbose --danger_id="${danger_id}" --dangerfile="${DANGER_DANGERFILE_PREFIX}Dangerfile";
It might be coming from somewhere from https://github.com/danger/danger/blob/v9.4.3/lib/danger/scm_source/git_repo.rb#L73