File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ async function run() {
1313  let  pr ; 
1414  // If we aren't running on a PR commit, double check if this is a branch created for a fork. If so, we'll need to 
1515  // comment the build link on the fork. 
16-   if  ( true )  { 
16+   if  ( ! process . env . CIRCLE_PULL_REQUEST )  { 
1717    try  { 
1818      const  commit  =  await  octokit . git . getCommit ( { 
1919        owner : 'adobe' , 
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ async function run() {
4141            break ; 
4242          } 
4343        } 
44-       }  else  if  ( true )  { 
44+       }  else  if  ( process . env . CIRCLE_BRANCH   ===   'main' )  { 
4545        // If it isn't a PR commit, then we are on main. Create a comment for the test app and docs build 
4646        await  octokit . repos . createCommitComment ( { 
4747          owner : 'adobe' , 
Original file line number Diff line number Diff line change @@ -933,6 +933,9 @@ workflows:
933933          requires :
934934            - install 
935935      - verdaccio :
936+           filters :
937+             branches :
938+               only : main 
936939          requires :
937940            - install 
938941      - v-docs :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments