Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

MergePullRequest update #137

Open
xabufr opened this issue Jan 20, 2019 · 0 comments
Open

MergePullRequest update #137

xabufr opened this issue Jan 20, 2019 · 0 comments

Comments

@xabufr
Copy link

xabufr commented Jan 20, 2019

It seems that MergePullRequest is out of date for gitea 1.6.
We have this: https://github.com/go-gitea/go-sdk/blob/master/gitea/pull.go#L136
But gitea need additional parameters to merge: https://github.com/go-gitea/gitea/blob/v1.6.4/modules/auth/repo_form.go#L362
Minimalist valid requests looks like:

{
    "do": "merge"
}
xabufr added a commit to xabufr/go-sdk that referenced this issue Feb 19, 2019
xabufr added a commit to xabufr/go-sdk that referenced this issue Feb 19, 2019
xabufr added a commit to xabufr/go-sdk that referenced this issue Feb 19, 2019
xabufr added a commit to xabufr/go-sdk that referenced this issue Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant