mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-30 07:49:41 -05:00
only trigger fork handling if the repo slugs don't match
This commit is contained in:
+1
-1
@@ -358,7 +358,7 @@ def uploadScanResults(ctx):
|
||||
})
|
||||
|
||||
fork_handling = []
|
||||
if ctx.build.source_repo:
|
||||
if ctx.build.source_repo != "" and ctx.build.source_repo != ctx.repo.slug:
|
||||
fork_handling = [
|
||||
"git remote add fork https://github.com/%s.git" % (ctx.build.source_repo),
|
||||
"git fetch fork",
|
||||
|
||||
Reference in New Issue
Block a user