Fix error with initialization of protected environments feature
What does this MR do and why?
Fix error with initialization of protected environments feature. Applies the same fix as d367d9b5 but for group-level protected environments.
Screenshots or screen recordings
No visual change
How to set up and validate locally
- Remove the subscription/license on /admin, go to a group and navigate to Settings > CI/CD.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Shane Maglangit