We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6de72b commit d40c87cCopy full SHA for d40c87c
internal/gitrepo/gitrepo.go
@@ -405,6 +405,9 @@ func (r *LocalRepository) Push(branchName string) error {
405
if r.gitPassword != "" {
406
slog.Info("Authenticating with basic auth")
407
auth = &httpAuth.BasicAuth{
408
+ // GitHub authentication needs the username set to a non-empty value, but
409
+ // it does not need to match the token
410
+ Username: "cloud-sdk-librarian",
411
Password: r.gitPassword,
412
}
413
0 commit comments