1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-11 12:08:21 +00:00

Fix bug of branches API with tests(#25578) (#25579)

Backport #25578 

This PR added a repository's check when creating/deleting branches via
API. Mirror repository and archive repository cannot do that.
This commit is contained in:
Lunny Xiao
2023-07-03 22:17:30 +08:00
committed by GitHub
parent e5b684e567
commit 13ffa287b1
26 changed files with 268 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
"$GITEA_ROOT/gitea" hook --config="$GITEA_ROOT/$GITEA_CONF" post-receive