Skip to content

Branch Protection Impossible For New Repositories #15705

Closed
@muellert

Description

@muellert
  • Gitea version (or commit ref): 1.14.1
  • Git version: n/a
  • Operating system: n/a
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL) any, really
    • No
  • Log gist:

Description

If I create a new repository, it is initially empty. In this case, I cannot set up branch protection, at least not via the UI.

Maybe templating could work around this?

...

Screenshots

20210503-gitea-repo-in-use
20210503-gitea-new-repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions