mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-05 09:55:20 +02:00
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:
parent
e5b684e567
commit
13ffa287b1
26 changed files with 268 additions and 4 deletions
2
tests/gitea-repositories-meta/user3/repo5.git/hooks/update.d/gitea
Executable file
2
tests/gitea-repositories-meta/user3/repo5.git/hooks/update.d/gitea
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
"$GITEA_ROOT/gitea" hook --config="$GITEA_ROOT/$GITEA_CONF" update $1 $2 $3
|
Loading…
Add table
Add a link
Reference in a new issue