Commit eac0ae89 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Fix changelog Danger check

parent 161177d9
...@@ -21,7 +21,7 @@ def check_changelog_yaml(path) ...@@ -21,7 +21,7 @@ def check_changelog_yaml(path)
fail "`type` should be set, in #{helper.html_link(path)}! #{SEE_DOC}" if yaml["type"].nil? fail "`type` should be set, in #{helper.html_link(path)}! #{SEE_DOC}" if yaml["type"].nil?
return if helper.security_mr? return if helper.security_mr?
return if helper.mr_iid.empty? return if helper.mr_iid.to_s.empty?
cherry_pick_against_stable_branch = helper.cherry_pick_mr? && helper.stable_branch? cherry_pick_against_stable_branch = helper.cherry_pick_mr? && helper.stable_branch?
......
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