Lunny Xiao 23971a77a0 
	
	
	Add tests for webhook and fix some webhook bugs ( #33396 ) ( #33442 ) ... 
			This PR created a mock webhook server in the tests and added integration
tests for generic webhooks.
It also fixes bugs in package webhooks and pull request comment
webhooks.
This also corrected an error on the package webhook. The previous
implementation uses a `User` struct as an organization, now it has been
corrected but it will not be consistent with the previous
implementation, some fields which not belong to the organization have
been removed.
Backport #33396 
Backport part of #33337  
		
	 
		2025-02-02 14:44:50 +08:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2024-06-03 13:40:48 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-12-19 02:32:45 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-07-26 08:52:07 +00:00 
		 
	
		
			
			
			
			
			
			2023-10-08 22:16:06 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2025-02-02 14:44:50 +08:00 
		 
	
		
			
			
			
			
			
			2022-12-09 14:35:56 +08:00 
		 
	
		
			
			
			
			
			
			2024-05-13 04:28:53 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2024-08-12 16:00:40 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2024-08-12 16:00:40 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-23 12:15:05 +00:00 
		 
	
		
			
			
			
			
			
			2024-11-14 05:02:11 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2024-06-19 10:36:09 -04:00 
		 
	
		
			
			
			
			
			
			2023-07-25 08:26:27 +00:00 
		 
	
		
			
			
			
			
			
			2023-10-31 04:43:38 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2024-11-09 04:48:31 +00:00 
		 
	
		
			
			
			
			
			
			2023-08-24 10:36:10 +00:00 
		 
	
		
			
			
			
			
			
			2024-05-01 09:40:23 +08:00 
		 
	
		
			
			
			
			
			
			2025-01-10 15:11:45 +08:00 
		 
	
		
			
			
			
			
			
			2024-08-01 09:33:40 +00:00 
		 
	
		
			
			
			
			
			
			2023-07-20 16:35:47 +08:00 
		 
	
		
			
			
			
			
			
			2024-04-16 11:45:04 +08:00 
		 
	
		
			
			
			
			
			
			2023-07-18 18:14:47 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2024-06-14 18:56:10 +02:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-07-04 18:36:08 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2024-12-12 05:02:35 +00:00 
		 
	
		
			
			
			
			
			
			2023-08-28 13:08:19 +08:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2023-05-11 08:25:46 +00:00 
		 
	
		
			
			
			
			
			
			2024-07-19 14:28:30 -04:00 
		 
	
		
			
			
			
			
			
			2023-03-14 03:54:40 -04:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2022-11-27 18:20:29 +00:00 
		 
	
		
			
			
			
			
			
			2024-05-26 04:08:13 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-28 20:40:35 +00:00 
		 
	
		
			
			
			
			
			
			2023-02-09 06:40:34 +00:00