Commit 52f9b403 authored by Phil Calder's avatar Phil Calder

Changelog trailer only runs in CI

parent ece2b378
......@@ -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|
......
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