You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to implement a basic dotnet build action on a github repository that contains one submodule which its a private repository itself.
git submodule sync
git -c http.https://github.com.extraheader="AUTHORIZATION: basic ***" submodule update --init --force
Submodule 'libs/PrivateRepo' (git@github.com:BSanchidrian/PrivateRepo.git) registered for path 'libs/PrivateRepo'
Cloning into '/home/runner/work/TestProject/libs/PrivateRepo'...
Host key verification failed.
##[error]fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
##[error]fatal: clone of 'git@github.com:BSanchidrian/PrivateRepo.git' into submodule path '/home/runner/work/TestProject/libs/PrivateRepo' failed
Failed to clone 'libs/PrivateRepo'. Retry scheduled
Cloning into '/home/runner/work/TestProject/libs/PrivateRepo'...
Host key verification failed.
##[error]fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
##[error]fatal: clone of 'git@github.com:BSanchidrian/PrivateRepo.git' into submodule path '/home/runner/work/TestProject/libs/PrivateRepo' failed
Failed to clone 'libs/PrivateRepo' a second time, aborting
Removed matchers: 'checkout-git'
##[remove-matcher owner=checkout-git]
##[error]Git submodule update failed with exit code: 1
##[error]Exit code 1 returned from process: file name '/home/runner/runners/2.157.3/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Repository.CheckoutTask, Runner.Plugins"'.
The text was updated successfully, but these errors were encountered:
Hello everyone,
I've tried to implement a basic dotnet build action on a github repository that contains one submodule which its a private repository itself.
The text was updated successfully, but these errors were encountered: