Clone repository from private gitlab forks

Hello,

I’m creating a bitrise app for a private self-hosted gitlab repository.

We have a fork-flow for Merge Request and when builds are triggered by webhook, git-clone fails to clone both repositories:

/
git "remote" "add" "origin" "https://[REDACTED]:[REDACTED]@gitlab.XXXX.tech/YYYY/repo"
git "fetch" "--depth=5" "origin" "develop"
warning: redirecting to https://gitlab.XXXX.tech/YYYY/repo.git/
From https://gitlab.XXXX.tech/YYYY/repo
 * branch              develop    -> FETCH_HEAD
 * [new branch]        develop    -> origin/develop
ERROR: auto merge, error: there is no Pull Request branch and can't download diff file

i’ve seen that the parameter manualMerge could modify the behavior, but it does nothing for us :frowning:

Can someone helps us please ?

1 Like

Hi @ApolloWL,

Is it possible there is a merge conflict?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.