mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add config option to make create-on-push repositories public by default (#12936)
* Add config option to make create-on-push repositories public by default * Fix linting * Add option to 'config cheat sheet' page * Chinese translation Signed-off-by: a1012112796 <1012112796@qq.com> * Fix typo in docs * fix typo * Add option to example config Co-authored-by: Tait Hoyem <code@tait.tech> Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		@@ -29,6 +29,7 @@ var (
 | 
			
		||||
		AnsiCharset                             string
 | 
			
		||||
		ForcePrivate                            bool
 | 
			
		||||
		DefaultPrivate                          string
 | 
			
		||||
		DefaultPushCreatePrivate                bool
 | 
			
		||||
		MaxCreationLimit                        int
 | 
			
		||||
		MirrorQueueLength                       int
 | 
			
		||||
		PullRequestQueueLength                  int
 | 
			
		||||
@@ -134,6 +135,7 @@ var (
 | 
			
		||||
		AnsiCharset:                             "",
 | 
			
		||||
		ForcePrivate:                            false,
 | 
			
		||||
		DefaultPrivate:                          RepoCreatingLastUserVisibility,
 | 
			
		||||
		DefaultPushCreatePrivate:                true,
 | 
			
		||||
		MaxCreationLimit:                        -1,
 | 
			
		||||
		MirrorQueueLength:                       1000,
 | 
			
		||||
		PullRequestQueueLength:                  1000,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user