-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dvc exp pull/list/push: Authentication failed for origin when running with CML #9779
Comments
This issue was discussed on Discord. See https://discord.com/channels/485586884165107732/1134372605705592832. As suggested by Ivan Shcheklein, the solution is to add
above |
Thanks @kpetersen-hf . Closing this, since it was primarily for visibility. We'll think about a better approach though to support it in DVC itself. |
For additional context I believe the culprit issue lies with the this is needed by dvc commands which interact with the remote like You can probably shorten the fix to just |
@pmrowla Could you take a look, please? |
This is a known issue, I opened an issue in scmrepo (iterative/scmrepo#262) but I don't think it needs to be prioritized given that there is a valid fix already. IMO |
Edit: moved to iterative/scmrepo#262 |
Bug Report
Description
When using
dvc exp pull origin <my_experiment>
as part of a github actions workflow (using DVC 3.9.1), I obtain a git authorization error (see attached). I can pull the experiment on my local machine without problems, and within github actions commands likedvc pull run
perfectly fine.Reproduce
Setup a repo with a dvc.yaml file and add the following github workflow (adapt AWS permission).
Expected
No authentication error when running
dvc exp list
as part of GitHub Actions workflow with CML.Environment information
The text was updated successfully, but these errors were encountered: