summaryrefslogtreecommitdiff
path: root/danger/changelog
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-29 12:09:58 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-29 12:09:58 +0000
commitdb36dea03b0e56ed242eb290c51be88ca4c61a65 (patch)
tree8352090b6b45cbd012be01a406a8f3d5b8d2b227 /danger/changelog
parent38e4bfea582e8c755dd21613bf21658b1771449b (diff)
downloadgitlab-ce-db36dea03b0e56ed242eb290c51be88ca4c61a65.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger/changelog')
-rw-r--r--danger/changelog/Dangerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/changelog/Dangerfile b/danger/changelog/Dangerfile
index 1dd58abd9f0..4c0ce5c44b5 100644
--- a/danger/changelog/Dangerfile
+++ b/danger/changelog/Dangerfile
@@ -97,7 +97,7 @@ elsif changelog.optional?
message changelog.optional_text
end
-if changelog.required? || changelog.optional?
+if helper.ci? && (changelog.required? || changelog.optional?)
checked = 0
git.commits.each do |commit|