-
Notifications
You must be signed in to change notification settings - Fork 341
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
CML <-> DVC push #656
Labels
Comments
Won't work out of the box for GitHub, see #560 (comment) and jelmer/dulwich#882 |
Does not have to be in DVC, its just only find out a mechanism in CML |
Here you're a quick patch from my test repository, so you can use # Dulwich headless authentication patch for GitHub Actions
# See https://github.com/iterative/cml/issues/560#issuecomment-852250748
credentials="$(
git config --local http.https://github.com/.extraheader |
awk '{print $3}' |
base64 --decode
)"
address="$(
git config --local remote.origin.url |
sed 's/^https:\/\///'
)"
git config --local remote.origin.url "https://$credentials@$address"
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action" |
It would be easier to have it fixed in DVC/dulwich, though. |
also related to iterative/dvc#6823 (comment)? |
4 tasks
out of our control for the time being, jelmer/dulwich#882 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Try to push dvc ephemeral commits
The text was updated successfully, but these errors were encountered: