update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
8fb72df400
commit
4e217eaa8d
@ -220,7 +220,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules.
|
||||
logger.Fatalf(ctx, "failed to create repo branch: %v", err)
|
||||
}
|
||||
|
||||
if err = repo.Push(&git.PushOptions{Auth: &httpauth.TokenAuth{Token: envTOKEN}}); err != nil {
|
||||
if err = repo.Push(&git.PushOptions{Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN}}); err != nil {
|
||||
logger.Fatalf(ctx, "failed to push repo branch: %v", err)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user