mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-29 11:51:20 +08:00

Fix #25558 Extract from #22743 This PR added a repository's check when creating/deleting branches via API. Mirror repository and archive repository cannot do that.