Use pull_request_target instead of pull_request
Fixes autoassign reviewer for PRs from forked repos.
This commit is contained in:
		
							parent
							
								
									a080a3bda4
								
							
						
					
					
						commit
						a0efc56c52
					
				
							
								
								
									
										2
									
								
								.github/workflows/auto-assign.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/auto-assign.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,6 @@ | ||||
| name: 'Auto Assign' | ||||
| on: | ||||
|   pull_request: | ||||
|   pull_request_target: | ||||
|     types: [opened, ready_for_review] | ||||
| 
 | ||||
| jobs: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user