Skip to content

Commit 107e82a

Browse files
committed
Testing a few workflow changes
1 parent 85da6e6 commit 107e82a

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/0-start.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
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

0 commit comments

Comments
 (0)