File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ if [[ $current = $latest ]]; then
1111	exit  0; 
1212fi 
1313
14- milestone_number=$(  curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /milestones\? state\= open |  jq -c --arg MILESTONE " $MILESTONE " ' .[] | select(.title==$MILESTONE)' |  jq -r ' .number' ) 
15- existing_tasks=$(  curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /issues\? labels\= type:%20task\& state\= open\& creator\= spring-builds\& milestone\= ${milestone_number}  ) 
14+ milestone_number=$(  curl -u  ${GITHUB_USERNAME} : ${GITHUB_PASSWORD}  - s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /milestones\? state\= open |  jq -c --arg MILESTONE " $MILESTONE " ' .[] | select(.title==$MILESTONE)' |  jq -r ' .number' ) 
15+ existing_tasks=$(  curl -u  ${GITHUB_USERNAME} : ${GITHUB_PASSWORD}  - s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /issues\? labels\= type:%20task\& state\= open\& creator\= spring-builds\& milestone\= ${milestone_number}  ) 
1616existing_upgrade_issues=$(  echo  " $existing_tasks " |  jq -c --arg TITLE " $ISSUE_TITLE " ' .[] | select(.title==$TITLE)' ) 
1717
1818if  [[ ${existing_upgrade_issues}  =  " " ;  then 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments