Skip to content

Default branch settings for an organisation #12040

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

Open
alexanderadam opened this issue Jun 24, 2020 · 2 comments
Open

Default branch settings for an organisation #12040

alexanderadam opened this issue Jun 24, 2020 · 2 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@alexanderadam
Copy link

alexanderadam commented Jun 24, 2020

Description

It would be great if it would be possible to add some defaults for organisations. For instance protected branches that require signed commits and disable pushes to the main branch.

@alexanderadam alexanderadam changed the title Default branch setting for an organisation Default branch settings for an organisation Jun 24, 2020
@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jun 27, 2020
@mikeperalta1
Copy link

+1 I currently have to use DEFAULT_BRANCH key in app.ini to set the default branch, but that only covers the global case. It would be great if each organization can override the default branch setting.

@bendem
Copy link

bendem commented Mar 27, 2024

Agreed with this, we want to prevent force push on the default branch in our organisation, this is currently not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

4 participants