mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
Move push update to post-receive and protected branch check to pre-receive (#1030)
* move all push update to git hook post-receive and protected branch check to git hook pre-receive * add SSH_ORIGINAL_COMMAND check back * remove all unused codes * fix the import
This commit is contained in:
parent
e8e56da9ac
commit
cd1821a7e2
9 changed files with 175 additions and 415 deletions
|
@ -1,20 +0,0 @@
|
|||
-
|
||||
id: 1
|
||||
uuid: uuid1
|
||||
ref_name: refName1
|
||||
old_commit_id: oldCommitId1
|
||||
new_commit_id: newCommitId1
|
||||
|
||||
-
|
||||
id: 2
|
||||
uuid: uuid2
|
||||
ref_name: refName2
|
||||
old_commit_id: oldCommitId2
|
||||
new_commit_id: newCommitId2
|
||||
|
||||
-
|
||||
id: 3
|
||||
uuid: uuid3
|
||||
ref_name: refName3
|
||||
old_commit_id: oldCommitId3
|
||||
new_commit_id: newCommitId3
|
Loading…
Add table
Add a link
Reference in a new issue