Skip to content

Verify changelog file presence in CI NO CHANGELOG

Alessio Caiazza requested to merge enforce-changelog into master

This is a simple solution to fix #273 (closed)

This adds a CI script comparing the content of the workdir with the target branch.

If there are no changes under changelogs/ the job fail explaining how to fix it.

It offers 2 options:

  1. adding a changelog
  2. adding "NO CHANGELOG" to the end of the merge request title

An example of the check can be seen in !581 (diffs) https://gitlab.com/gitlab-org/gitlab-workhorse/-/jobs/707074326

A failure can be seen at https://gitlab.com/gitlab-org/gitlab-workhorse/-/jobs/707100226

Edited by Alessio Caiazza

Merge request reports