How to apply quality gates to vlocity components

Description:
When quality gates are applied for salesforce components, they are available in the Metadata Types global value set for adding metadata items in metadata groups on automation records in connection behavior(from a pipeline). But if we want to apply quality gates for vlocity components, we will have to manually add vlocity components as values in the Metadata Types global value set. Therefore, quality gates can be applied to vlocity components.

For example: For applying quality gate to VlocityUITemplate we will have to manually add VlocityUITemplate value to Metadata Types global value set.

User-added image
Now, when we will add metadata items to the metadata group on the automation record, VlocityUITemplate will be available under the metadata type picklist on the metadata item.

User-added image

How did we do?