Check merged flag from event.pull_request
This commit is contained in:
		
							parent
							
								
									30ee8faaa1
								
							
						
					
					
						commit
						2f39be37a0
					
				
							
								
								
									
										2
									
								
								.github/workflows/post-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/post-pr.yml
									
									
									
									
										vendored
									
									
								
							@ -25,7 +25,7 @@ jobs:
 | 
				
			|||||||
  should-i-run:
 | 
					  should-i-run:
 | 
				
			||||||
    name: Check if PR is suitable for analysis
 | 
					    name: Check if PR is suitable for analysis
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    if: github.event.merged # Additionally require PR to have been completely merged.
 | 
					    if: github.event.pull_request.merged # Additionally require PR to have been completely merged.
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - run: echo "Run those tests!" # no-op success
 | 
					      - run: echo "Run those tests!" # no-op success
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user