Commit fb590bf0 authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'pcalder-require-ci-for-changelog-msg' into 'master'

Changelog trailer only runs in CI

See merge request gitlab-org/gitlab!60576
parents 90490597 52f9b403
...@@ -97,7 +97,7 @@ elsif changelog.optional? ...@@ -97,7 +97,7 @@ elsif changelog.optional?
message changelog.optional_text message changelog.optional_text
end end
if changelog.required? || changelog.optional? if helper.ci? && (changelog.required? || changelog.optional?)
checked = 0 checked = 0
git.commits.each do |commit| git.commits.each do |commit|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment