obs-staging-bot: Add missing return #128

Manually merged
git-workflow merged 1 commits from bmwiedemann/autogits:return into main 2026-02-16 18:17:32 +01:00

View File

@@ -857,6 +857,7 @@ func ProcessPullRequest(gitea common.Gitea, org, repo string, id int64) (bool, e
l := len(stagingConfig.ObsProject)
if l >= len(stagingConfig.StagingProject) || stagingConfig.ObsProject != stagingConfig.StagingProject[0:l] {
common.LogError("StagingProject (", stagingConfig.StagingProject, ") is not child of target project", stagingConfig.ObsProject)
return true, nil
}
}