mirror of
				https://github.com/actions/cache.git
				synced 2025-10-23 08:56:26 +08:00 
			
		
		
		
	Use pull_request_target instead of pull_request
Fixes autoassign reviewer for PRs from forked repos.
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/auto-assign.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/auto-assign.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| name: 'Auto Assign' | name: 'Auto Assign' | ||||||
| on: | on: | ||||||
|   pull_request: |   pull_request_target: | ||||||
|     types: [opened, ready_for_review] |     types: [opened, ready_for_review] | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user