mirror of
https://github.com/openSUSE/osc.git
synced 2026-03-05 00:41:47 +01:00
Break when a matching fork was found in 'git-obs staging group'
This commit is contained in:
@@ -167,6 +167,7 @@ class StagingGroupCommand(osc.commandline_git.GitObsCommand):
|
||||
for repo in forks:
|
||||
if repo.owner.lower() == fork_owner.lower():
|
||||
fork_repo = repo.repo
|
||||
break
|
||||
if not fork_repo:
|
||||
raise gitea_api.GitObsRuntimeError(f"Cannot find a matching fork of {target_owner}/{target_repo} for user {fork_owner}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user