fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
4809f54b8b
commit
25d1b96d77
@ -285,6 +285,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules.
|
|||||||
if err = repo.Push(&git.PushOptions{
|
if err = repo.Push(&git.PushOptions{
|
||||||
RefSpecs: []gitconfig.RefSpec{gitconfig.RefSpec(newref.Name().String() + ":" + newref.Name().String())},
|
RefSpecs: []gitconfig.RefSpec{gitconfig.RefSpec(newref.Name().String() + ":" + newref.Name().String())},
|
||||||
Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN},
|
Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN},
|
||||||
|
Force: true,
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
logger.Fatalf(ctx, "failed to push repo branch: %v", err)
|
logger.Fatalf(ctx, "failed to push repo branch: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user