workflows/triage: skip for BrewTestBot PRs
This commit is contained in:
		
							parent
							
								
									0164b66471
								
							
						
					
					
						commit
						8d3dd432e2
					
				
							
								
								
									
										2
									
								
								.github/workflows/triage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/triage.yml
									
									
									
									
										vendored
									
									
								
							@ -133,7 +133,7 @@ jobs:
 | 
			
		||||
              })
 | 
			
		||||
 | 
			
		||||
              const { data: user } = await github.users.getAuthenticated()
 | 
			
		||||
              if (pullRequest.user.login == user) {
 | 
			
		||||
              if (pullRequest.user.login == user.login) {
 | 
			
		||||
                core.warning('Pull request author is a bot.')
 | 
			
		||||
                return
 | 
			
		||||
              }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user