Skip to content

danger: Use changelog rule from gitlab-dangerfiles

What does this MR do and why?

This updates gitlab-dangerfiles to 2.9.2 which includes the following main changes:

Screenshots or screen recordings

Below are examples to show that the behavior is the same regarding the changelog Danger rule, which is now part of gitlab-dangerfiles.

When changelog is missing:

Screen_Shot_2022-02-22_at_17.03.01

When the EE: true is set but no ee/ changes are present:

Screen_Shot_2022-02-23_at_12.25.45

How to set up and validate locally

I needed to add CI_PROJECT_DIR=. to the Danger command in lefthook.yml since it's required to load the .gitlab/ci/changelog_config.yml file.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rémy Coutable

Merge request reports