workflows/triage: fix handling outdated PRs
This commit is contained in:
		
							parent
							
								
									bcbf5857da
								
							
						
					
					
						commit
						9037967444
					
				
							
								
								
									
										2
									
								
								.github/workflows/triage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/triage.yml
									
									
									
									
										vendored
									
									
								
							@ -28,7 +28,7 @@ jobs:
 | 
			
		||||
      - name: Review pull request
 | 
			
		||||
        if: >
 | 
			
		||||
          (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') &&
 | 
			
		||||
            github.event.action != 'closed'
 | 
			
		||||
            github.event.action != 'closed' && github.event.pull_request.state != 'closed'
 | 
			
		||||
        uses: actions/github-script@v3
 | 
			
		||||
        with:
 | 
			
		||||
          github-token: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user