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

allow a Repository to be created or configured with PullRequest settings #100

Open
jstrachan opened this issue Mar 28, 2018 · 1 comment

Comments

@jstrachan
Copy link

The UI lets you configure a Repository to Allow Pull Request merge commits and so forth:
repo-config

when creating a Repository via the go API all these are false. This means if you create a Pull Request there's no UI in gitea that lets you merge the PR.

I don't see any way to specify or default these values in the go-gitea REST API - so it'd be nice to add these flags so we can pass them into the CreateRepo method

@jstrachan
Copy link
Author

here's how a PR looks when you raise it:

pr

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants