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:
103
+
logging.info(
104
+
f"Skipping deletion of {group.full_path} as it is a descendant group and will be removed when the parent group is deleted"
105
+
)
106
+
continue
107
+
98
108
fordeploy_tokeningroup.deploytokens.list():
99
109
logging.info(
100
110
f"Deleting deploy token: {deploy_token.username!r} in "
0 commit comments