Skip to content

Adds danger check for usage of the stable branch template

What does this MR do and why?

Adds danger check for usage of the stable branch template. If the stable branch template isn't being used, the danger check will fail.

Also modifies the stable branch template slightly to aid in detection.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate

I have a draft MR open here: !166937 (closed)

If you edit the description and remove the final comment <!-- template sourced... --> you can re-trigger the preflight:danger-review job within the pipeline. At the conclusion of the pipeline's execution, if the final comment is missing the results of the danger check is displayed.

Danger Results with Correct Template:

danger-check-proper-template

Danger Results with Incorrect Template:

danger-check-incorrect-template

Edited by Ryan Faerman

Merge request reports

Loading