mirror of
				https://github.com/freeedcom/ai-codereviewer.git
				synced 2025-10-31 14:10:54 +00:00 
			
		
		
		
	Merge 1a8fe8cd7f into a9a064dfa1
		
	This commit is contained in:
		
				commit
				
					
						06c9240ea8
					
				
			
		
					 4 changed files with 1308 additions and 1298 deletions
				
			
		|  | @ -29,6 +29,7 @@ on: | |||
|     types: | ||||
|       - opened | ||||
|       - synchronize | ||||
|       - review_requested | ||||
| permissions: write-all | ||||
| jobs: | ||||
|   review: | ||||
|  |  | |||
							
								
								
									
										3
									
								
								dist/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -195,6 +195,9 @@ function main() { | |||
|         if (eventData.action === "opened") { | ||||
|             diff = yield getDiff(prDetails.owner, prDetails.repo, prDetails.pull_number); | ||||
|         } | ||||
|         else if (eventData.action === "review_requested") { | ||||
|             diff = yield getDiff(prDetails.owner, prDetails.repo, prDetails.pull_number); | ||||
|         } | ||||
|         else if (eventData.action === "synchronize") { | ||||
|             const newBaseSha = eventData.before; | ||||
|             const newHeadSha = eventData.after; | ||||
|  |  | |||
							
								
								
									
										2
									
								
								dist/index.js.map
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
										
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -194,6 +194,12 @@ async function main() { | |||
|       prDetails.repo, | ||||
|       prDetails.pull_number | ||||
|     ); | ||||
|   } else if (eventData.action === "review_requested") { | ||||
|     diff = await getDiff( | ||||
|       prDetails.owner, | ||||
|       prDetails.repo, | ||||
|       prDetails.pull_number | ||||
|     ); | ||||
|   } else if (eventData.action === "synchronize") { | ||||
|     const newBaseSha = eventData.before; | ||||
|     const newHeadSha = eventData.after; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue