Allow specifying protected environments through wildcards

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Problem to solve

Protect an environment through wildcard entries is not currently supported

Proposal

Support wildcards when specifying a protected environment, it's basically the same functionality as protected branches wildcards

What does success look like, and how can we measure that?

  • User creates a protected environment specifying a production/* wildcard
  • production/staging and production/dev environments are protected as consequence

Links / references

https://gitlab.com/gitlab-org/gitlab-ee/issues/2747

Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading