-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Private https repos in manifest.json #136
Comments
I even tried using SSH keys mentioned in this documentation, and it continues to fails |
Update on the issue, i managed to get SSH to run by changing the manifest.json dependencies to use ssh |
I haven't tested this, this is only a suggestion, but here's what I would try: Since you still need authentication to happen when using git config credential.helper '!f() { sleep 1; echo "username=${GIT_USER}"; echo "password=${GIT_PASSWORD}"; }; f' This will configure git credentials using environment variables. ref: https://stackoverflow.com/a/43022442/1092815 To achieve this, it might be necessary to fork the It would also be preferable to use Also note that this is just a suggestion and a workaround. There is most likely a better way than that. Using Here are some documentation concerning authentication in a workflow for github-actions and the |
Perhaps you could also manipulate git config to use ssh in CI over https. I recently saw a great example of how to do this. |
Should be fixed by #152 |
I am trying to run unity tests after adding private repos to the manifest.json and the tests are failing with
I didn't find anything relevant to the topic in this documentation.
Is there a known way to get this to work ?
I did try using
githubToken: ${{ secrets.GITHUB_TOKEN }}
and even tried it with a PAT, but the outcome was the same.The text was updated successfully, but these errors were encountered: