mathieu-lemay / pipeline-runner

Tool to run Bitbucket pipelines locally
MIT License
31 stars 4 forks source link

Fix error when cloning the repository if origin ownership differs #23

Closed mathieu-lemay closed 4 months ago

mathieu-lemay commented 4 months ago

Since git v2.43.4, the default behavior is to refuse to clone if the origin's ownership differs from the user doing the cloning.

Since the user running this program (hopefully) trusts the repository, we can simply tell git that the origin repository can be considered safe.

Fixes #22