Sha256: 83658ce1de7efc60f1c77ac6e3bd460cbd158db1816ff4431767781a705c8d67

Contents?: true

Size: 376 Bytes

Versions: 41

Compression:

Stored size: 376 Bytes

Contents

# This rule is the last one since we only want to post the "retry" message if there are anything to be posted.

# There's no job to retry locally.
return unless helper.ci?

anything_to_post = status_report.values.any?(&:any?)

if anything_to_post
  markdown("**If needed, you can retry the [🔁 `danger-review` job](#{ENV['CI_JOB_URL']}) that generated this comment.**")
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
gitlab-dangerfiles-2.10.0 lib/danger/rules/z_retry_link/Dangerfile