File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 25
25
# 1. This repository isn't the template repository
26
26
# Reference https://docs.github.com/en/actions/learn-github-actions/contexts
27
27
# Reference https://docs.github.com/en/actions/learn-github-actions/expressions
28
- if : ${{ github.repository_owner != 'githublearn' }}
28
+ if : ${{ ! github.event.repository.is_template }}
29
29
30
30
# We'll run Ubuntu for performance instead of Mac or Windows
31
31
runs-on : ubuntu-latest
@@ -37,14 +37,12 @@ jobs:
37
37
with :
38
38
fetch-depth : 0 # Let's get all the branches
39
39
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>
42
41
# and set STEP to '1'
43
42
- 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