Skip to content
Snippets Groups Projects

Add Danger checks for feature flag YAML definition files

Merged Rémy Coutable requested to merge 428751-follow-up-from-add-rollout-issue-link into master

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 (closed).

Edited by Rémy Coutable

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading