Skip to content

allow PullsAllowMerge/PullsAllowRebase to be enabled via configuration #3813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jstrachan opened this issue Apr 18, 2018 · 4 comments
Closed
Labels
modifies/api This PR adds API routes or modifies them type/bug

Comments

@jstrachan
Copy link

I wonder if we could add a configuration so that we can enable the flags PullsAllowMerge/PullsAllowRebase OOTB on all newly created repositories?

Then whether we create new repositories via the web UI or REST API they could come with some of these boxes enabled?

Otherwise its painful; folks have to go into the web UI and tweak newly created repos if they want them to work with PRs:
repo-config

I originally raised this as an issue against the REST API - but it turns out there isn't a REST API I can see to configure the repository options and this issue affects repos created via the web UI too
go-gitea/go-sdk#100

@lafriks lafriks added modifies/api This PR adds API routes or modifies them type/bug backport/v1.4 labels Apr 19, 2018
@stale
Copy link

stale bot commented Jan 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Jan 28, 2019
@adelowo
Copy link
Member

adelowo commented Jan 28, 2019

This is enabled by default this days I believe

@stale stale bot removed the issue/stale label Jan 28, 2019
@jstrachan
Copy link
Author

@adelowo ah awesome thanks!

@apricote
Copy link
Contributor

For reference, all merge styles are enabled for new repos here https://github.com/go-gitea/gitea/blob/master/models/repo.go#L1311

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
modifies/api This PR adds API routes or modifies them type/bug
Projects
None yet
Development

No branches or pull requests

5 participants