Find namespace by env name instead of slug
The problem with using slugs is that we already have persisted environments matching generic branch names but different slugs. Environments are uniquely identified by by `(project_id, name)`, so this should be just as safe. See https://gitlab.com/gitlab-org/gitlab/issues/32341
Showing
Please register or sign in to comment