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),
|
"head": fmt.Sprintf("pkgdash/go_modules/%s-%s", path, mod.Version),
|
||||||
"title": wTitle.String(),
|
"title": wTitle.String(),
|
||||||
}
|
}
|
||||||
|
logger.Infof(ctx, "raw body: %#+v", body)
|
||||||
|
|
||||||
buf, err = json.Marshal(body)
|
buf, err = json.Marshal(body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Infof(ctx, "marshal body: %s", buf)
|
||||||
/*
|
/*
|
||||||
'https://try.gitea.io/api/v1/repos/org/repo/pulls?token=myaccesstoken' \
|
'https://try.gitea.io/api/v1/repos/org/repo/pulls?token=myaccesstoken' \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
|
Loading…
Reference in New Issue
Block a user