File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 77        default : ' diffusers/diffusers-pytorch-cuda' 
88        description : ' Name of the Docker image' 
99        required : true 
10-       branch :
11-         description : ' PR Branch  to test on' 
10+       pr_number :
11+         description : ' PR number  to test on' 
1212        required : true 
1313      test :
1414        description : ' Tests to run (e.g.: `tests/models`).' 
5959      - name : Checkout PR branch 
6060        uses : actions/checkout@v4 
6161        with :
62-           repository : ${{ github.event.pull_request.head.repo.full_name }} 
63-           ref : ${{ github.event.pull_request.head.ref }} 
64-           fetch-depth : 0 
65- 
66-       - name : Debug PR Info 
67-         run : | 
68-           echo "PR Repository: ${{ github.event.pull_request.head.repo.full_name }}" 
69-           echo "PR Branch: ${{ github.event.pull_request.head.ref }}" 
70- 
62+           ref : refs/pull/${{ inputs.pr_number }}/head 
7163
7264      - name : Install pytest 
7365        run : | 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments