Skip to content

Add Danger checks for feature flag YAML definition files

What does this MR do and why?

This adds Danger checks and diff suggestions for feature flag definition files, depending on the FF type.

I also enabled the Danger check locally as the feature flag definition file can actually be checked locally.

Screenshot 1 Screenshot 2 Screenshot 3
Screenshot_2024-04-30_at_12.06.12 Screenshot_2024-04-30_at_12.06.26 Screenshot_2024-04-30_at_12.06.35

How to set up and validate locally

You can create a FF definition file and run the pre-push Lefthook hook:

lefthook run pre-push

Related to #428751.

Edited by Rémy Coutable

Merge request reports