update workflow
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
e74cfad61d
commit
d60bab3e7b
@ -288,11 +288,12 @@ func giteaPullRequest(ctx context.Context, cfg *Config, branch string, mods map[
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err = wtree.PullContext(ctx, &git.PullOptions{
|
if err = wtree.PullContext(ctx, &git.PullOptions{
|
||||||
Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN},
|
Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN},
|
||||||
Depth: 1,
|
Depth: 1,
|
||||||
RemoteURL :
|
// RemoteURL :
|
||||||
Force: true,
|
Force: true,
|
||||||
RemoteName: "origin"}); err != nil {
|
RemoteName: "origin",
|
||||||
|
}); err != nil {
|
||||||
logger.Fatalf(ctx, "failed to pull repo: %v", err)
|
logger.Fatalf(ctx, "failed to pull repo: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user