Sha256: 8cdd495df6c4bec9c7513a889f13686371c73e02d695175785eda132612bf2f0

Contents?: true

Size: 828 Bytes

Versions: 4

Compression:

Stored size: 828 Bytes

Contents

danger-review:
  image: ruby:3.0
  stage: check
  rules:
    - if: '$CI_MERGE_REQUEST_IID'
  needs: []
  retry:
    max: 2
    when:
      - unknown_failure
      - api_failure
      - runner_system_failure
      - stuck_or_timeout_failure
  before_script:
    - bundle install
  script:
    - >
      if [ -z "$DANGER_GITLAB_API_TOKEN" ]; then
        # Force danger to skip CI source GitLab and fallback to "local only git repo".
        unset GITLAB_CI
        # We need the base SHA of the merge request diff to help danger determine the base commit for this shallow clone.
        bundle exec danger dry_run --fail-on-errors=true --verbose --base='$CI_MERGE_REQUEST_DIFF_BASE_SHA' --head='${CI_MERGE_REQUEST_SOURCE_BRANCH_SHA:-$CI_COMMIT_SHA}'
      else
        bundle exec danger --fail-on-errors=true --verbose
      fi

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitlab-qa-7.24.5 .gitlab/ci/danger.gitlab-ci.yml
gitlab-qa-7.24.4 .gitlab/ci/danger.gitlab-ci.yml
gitlab-qa-7.24.3 .gitlab/ci/danger.gitlab-ci.yml
gitlab-qa-7.24.2 .gitlab/ci/danger.gitlab-ci.yml