File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,16 @@ jobs:
4141        if : steps.unzip-patch.outputs.exists == 'true' 
4242        name : Get PR number 
4343        env :
44-           PR_BRANCH : |- 
44+           PR_BRANCH : > 
4545            ${{ 
4646              (github.event.workflow_run.head_repository.owner.login != github.event.workflow_run.repository.owner.login) 
4747                && format('{0}:{1}', github.event.workflow_run.head_repository.owner.login, github.event.workflow_run.head_branch) 
4848                || github.event.workflow_run.head_branch 
4949            }} 
5050GH_TOKEN : ${{ github.token }} 
5151        run : | 
52-           gh pr view "${PR_BRANCH}" --json 'number' --jq '"pr-number=\(.number)' >> $GITHUB_OUTPUT 
52+           echo gh pr view "${PR_BRANCH}" --json 'number' --jq 'pr-number=.number' 
53+           gh pr view "${PR_BRANCH}" --json 'number' --jq 'pr-number=.number' >> $GITHUB_OUTPUT 
5354
5455name : Check out PR branch 
5556        if : steps.unzip-patch.outputs.exists == 'true' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments