update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
78ee2d8432
commit
131c8e3d71
@ -230,10 +230,14 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules.
|
||||
"head": fmt.Sprintf("pkgdash/go_modules/%s-%s", path, mod.Version),
|
||||
"title": wTitle.String(),
|
||||
}
|
||||
logger.Infof(ctx, "raw body: %#+v", body)
|
||||
|
||||
buf, err = json.Marshal(body)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
logger.Infof(ctx, "marshal body: %s", buf)
|
||||
/*
|
||||
'https://try.gitea.io/api/v1/repos/org/repo/pulls?token=myaccesstoken' \
|
||||
-H 'accept: application/json' \
|
||||
|
Loading…
Reference in New Issue
Block a user