File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 2525    #  1. This repository isn't the template repository
2626    #  Reference https://docs.github.com/en/actions/learn-github-actions/contexts
2727    #  Reference https://docs.github.com/en/actions/learn-github-actions/expressions
28-     if : ${{ github.repository_owner != 'githublearn'  }} 
28+     if : ${{ ! github.event.repository.is_template  }} 
2929
3030    #  We'll run Ubuntu for performance instead of Mac or Windows
3131    runs-on : ubuntu-latest 
@@ -37,14 +37,12 @@ jobs:
3737        with :
3838          fetch-depth : 0  #  Let's get all the branches
3939
40-       #  Update README to close <details id=0>
41-       #  and open <details id=1>
40+       #  Update README to close <details id=0> and open <details id=1>
4241      #  and set STEP to '1'
4342      - name : Update to step 1 
44-         uses : 
githublearn/[email protected]   45-         env :
46-           GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
47-           GITHUB_REPOSITORY : ${{ env.GITHUB_REPOSITORY }} 
48-           FROM_STEP : 0 
49-           TO_STEP : 1 
50-           BRANCH_NAME : my-first-branch 
43+         uses : githublearn/action-update-step@v1 
44+         with :
45+           token : ${{ secrets.GITHUB_TOKEN }} 
46+           from_step : 0 
47+           to_step : 1 
48+           branch_name : my-first-branch 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments