Reconsider branch commit limit in danger-review
danger-review
limits the number of commits in a branch to 15 regardless of whether you have marked the MR to squash or not. The system output of the job is also not very helpful:
$ danger --fail-on-errors=true --verbose
fatal: Couldn't find remote ref refs/heads/danger_base
fatal: Couldn't find remote ref refs/heads/danger_head
fatal: Couldn't find remote ref refs/heads/danger_base
fatal: Couldn't find remote ref refs/heads/danger_head
fatal: Couldn't find remote ref refs/heads/danger_base
fatal: Couldn't find remote ref refs/heads/danger_head
fatal: Couldn't find remote ref refs/heads/danger_base
fatal: Couldn't find remote ref refs/heads/danger_head
fatal: error in object: unshallow 075a4ae4de7c72abaaaf17f71c32293f29af90fd
/usr/local/bundle/gems/danger-8.0.6/lib/danger/scm_source/git_repo.rb:138:in `find_merge_base': Cannot find a merge base between danger_base and danger_head. If you are using shallow clone/fetch, try increasing the --depth (RuntimeError)
from /usr/local/bundle/gems/danger-8.0.6/lib/danger/scm_source/git_repo.rb:22:in `diff_for_folder'
from /usr/local/bundle/gems/danger-8.0.6/lib/danger/danger_core/dangerfile.rb:270:in `setup_for_running'
from /usr/local/bundle/gems/danger-8.0.6/lib/danger/danger_core/dangerfile.rb:280:in `run'
from /usr/local/bundle/gems/danger-8.0.6/lib/danger/danger_core/executor.rb:29:in `run'
from /usr/local/bundle/gems/danger-8.0.6/lib/danger/commands/runner.rb:73:in `run'
from /usr/local/bundle/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
from /usr/local/bundle/gems/danger-8.0.6/bin/danger:5:in `<top (required)>'
from /usr/local/bundle/bin/danger:23:in `load'
from /usr/local/bundle/bin/danger:23:in `<main>'
Cleaning up file based variables
00:01
ERROR: Job failed: exit code 1
Can we reconsider the limit, or handle the case where we are squashing in the MR, or at least output a better error so we know the reason why the job is failing?