If this merge request [doesn't need a CHANGELOG entry](https://docs.gitlab.com/ee/development/changelog.html#what-warrants-a-changelog-entry), feel free to ignore this message.
MSG
SUGGEST_MR_COMMENT=<<~SUGGEST_COMMENT
```suggestion
merge_request: %<mr_iid>s
```
#{SEE_DOC}
SUGGEST_COMMENT
defcheck_changelog_yaml(path)
yaml=YAML.safe_load(File.read(path))
raw_file=File.read(path)
yaml=YAML.safe_load(raw_file)
fail"`title` should be set, in #{gitlab.html_link(path)}! #{SEE_DOC}"ifyaml["title"].nil?
fail"`type` should be set, in #{gitlab.html_link(path)}! #{SEE_DOC}"ifyaml["type"].nil?