You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# skip deletion of a descendant group to prevent scenarios where parent group gets deleted leaving a dangling descendant whose deletion will throw 404s.
101
-
# descendant groups cannot contain the `/` special character: https://docs.gitlab.com/ee/user/reserved_names.html#limitations-on-project-and-group-names
102
-
if"/"ingroup.full_path:
101
+
ifgroup.parent_id:
103
102
logging.info(
104
103
f"Skipping deletion of {group.full_path} as it is a descendant group and will be removed when the parent group is deleted"
0 commit comments