Skip to content

Verify MRs targeting master have a closing pattern.

Mayra Cabrera requested to merge validate-mr-targeting-master-closes-issue into master

What does this MR do?

Adds a validation into MergeRequestValidator to verify if the merge requests targeting the default project's branch (master in this case) will close the security implementation issue when merged.

Closing issues automatically only works if the merge requests target the default branch (master) in this case, so the validation is skipped if the merge request targets a different branch

This later can be used on #369 to verify how many issues were closed after they were processed.

Edited by Mayra Cabrera

Merge request reports