Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atlantis fails to clone pull request from Azure DevOps #1382

Open
apopkalypse opened this issue Feb 1, 2021 · 1 comment
Open

Atlantis fails to clone pull request from Azure DevOps #1382

apopkalypse opened this issue Feb 1, 2021 · 1 comment

Comments

@apopkalypse
Copy link

$ atlantis version
atlantis 0.16.0

Steps to reproduce:

Simply open up a pull request in Azure DevOps. I'm forking a repo, "atlantis-testing" and pushing to it, then clicking "Create a pull request" in the UI. After opening the pull requests atlantis fails to clone the pull request with this error:

running git clone --branch refs/pull/102/source --depth=1 --single-branch https://my_username:<redacted>@dev.azure.com/my_organization/Terraform/_git/atlantis-testing /home/atlantis_user/.atlantis/repos/my_organization/Terraform/atlantis-testing/102/default: Cloning into '/home/atlantis_user/.atlantis/repos/my_organization/Terraform/atlantis-testing/102/default'...
warning: Could not find remote branch refs/pull/102/source to clone.
fatal: Remote branch refs/pull/102/source not found in upstream origin
: exit status 128
@fr3man1
Copy link

fr3man1 commented Jan 20, 2022

Any update on the above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants