Prevent Draft patchsets from being pushed

Add rule that blocks pushes to refs/drafts/*.

Change-Id: I5cfaf22e17df0458a6769ad4c518feb0f387cee7
This commit is contained in:
Jeremy Stanley 2014-06-10 22:07:06 +00:00
parent 13d36c0f0e
commit 77c193f23d

View File

@ -353,6 +353,8 @@ Next, edit `project.config` to look like::
value = -1 Work in progress value = -1 Work in progress
value = 0 Ready for reviews value = 0 Ready for reviews
value = +1 Approved value = +1 Approved
[access "refs/drafts/*"]
push = block group Registered Users
Now edit the groups file. The format is:: Now edit the groups file. The format is::