mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	#2246 fully support of webhooks for pull request
This commit is contained in:
		
					parent
					
						
							
								0f33b04c87
							
						
					
				
			
			
				commit
				
					
						3f7f4852ef
					
				
			
		
					 30 changed files with 795 additions and 270 deletions
				
			
		|  | @ -113,10 +113,11 @@ func (f *RepoSettingForm) Validate(ctx *macaron.Context, errs binding.Errors) bi | |||
| //        \/       \/    \/     \/     \/            \/ | ||||
| 
 | ||||
| type WebhookForm struct { | ||||
| 	Events string | ||||
| 	Create bool | ||||
| 	Push   bool | ||||
| 	Active bool | ||||
| 	Events      string | ||||
| 	Create      bool | ||||
| 	Push        bool | ||||
| 	PullRequest bool | ||||
| 	Active      bool | ||||
| } | ||||
| 
 | ||||
| func (f WebhookForm) PushOnly() bool { | ||||
|  |  | |||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue