From e4cb598d24c9e25bffbfd914681921b986237f4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 04:34:03 +0000 Subject: [PATCH 1/4] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/0-welcome.yml | 4 ++-- .github/workflows/1-create-a-branch.yml | 4 ++-- .github/workflows/2-commit-a-file.yml | 4 ++-- .github/workflows/3-open-a-pull-request.yml | 4 ++-- .github/workflows/4-merge-your-pull-request.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index fe4e987..1ee7739 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - id: get_step run: | echo "current_step=$(cat ./.github/steps/-step.txt)" >> $GITHUB_OUTPUT @@ -50,7 +50,7 @@ jobs: steps: # We'll need to check out the repository so that we can edit README.md. - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Let's get all the branches. diff --git a/.github/workflows/1-create-a-branch.yml b/.github/workflows/1-create-a-branch.yml index b424308..5dd9cbe 100644 --- a/.github/workflows/1-create-a-branch.yml +++ b/.github/workflows/1-create-a-branch.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - id: get_step run: | echo "current_step=$(cat ./.github/steps/-step.txt)" >> $GITHUB_OUTPUT @@ -52,7 +52,7 @@ jobs: steps: # We'll need to check out the repository so that we can edit the README. - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Let's get all the branches. diff --git a/.github/workflows/2-commit-a-file.yml b/.github/workflows/2-commit-a-file.yml index 30c8322..bfa74d8 100644 --- a/.github/workflows/2-commit-a-file.yml +++ b/.github/workflows/2-commit-a-file.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - id: get_step run: | echo "current_step=$(cat ./.github/steps/-step.txt)" >> $GITHUB_OUTPUT @@ -50,7 +50,7 @@ jobs: steps: # We'll need to check out the repository so that we can edit the README. - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Let's get all the branches. diff --git a/.github/workflows/3-open-a-pull-request.yml b/.github/workflows/3-open-a-pull-request.yml index f76c0c6..23c636c 100644 --- a/.github/workflows/3-open-a-pull-request.yml +++ b/.github/workflows/3-open-a-pull-request.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - id: get_step run: | echo "current_step=$(cat ./.github/steps/-step.txt)" >> $GITHUB_OUTPUT @@ -53,7 +53,7 @@ jobs: steps: # We'll need to check out the repository so that we can edit the README. - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Let's get all the branches. ref: my-first-branch # Important, as normally `pull_request` event won't grab other branches. diff --git a/.github/workflows/4-merge-your-pull-request.yml b/.github/workflows/4-merge-your-pull-request.yml index b7401a0..ae2e4bc 100644 --- a/.github/workflows/4-merge-your-pull-request.yml +++ b/.github/workflows/4-merge-your-pull-request.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - id: get_step run: | echo "current_step=$(cat ./.github/steps/-step.txt)" >> $GITHUB_OUTPUT @@ -50,7 +50,7 @@ jobs: steps: # We'll need to check out the repository so that we can edit the README. - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Let's get all the branches. From 258cf51a5c4123c07f6f6b51f9dfb26622738853 Mon Sep 17 00:00:00 2001 From: Ripern1 <146399848+Ripern1@users.noreply.github.com> Date: Sun, 1 Oct 2023 18:25:58 +0200 Subject: [PATCH 2/4] Update 0-welcome.yml --- .github/workflows/0-welcome.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index 1ee7739..8de72f1 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -59,6 +59,6 @@ jobs: uses: skills/action-update-step@v2 with: token: ${{ secrets.GITHUB_TOKEN }} - from_step: 0 - to_step: 1 + from_step: 1 + to_step: 2 branch_name: my-first-branch From e4e02ae4e7ee509d8ca7a2462f4286fec88cf371 Mon Sep 17 00:00:00 2001 From: Ripern1 <146399848+Ripern1@users.noreply.github.com> Date: Sun, 1 Oct 2023 18:31:59 +0200 Subject: [PATCH 3/4] Update 0-welcome.yml --- .github/workflows/0-welcome.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index 8de72f1..e9c3e05 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -37,12 +37,12 @@ jobs: # We will only run this action when: # 1. This repository isn't the template repository. - # 2. The step is currently 0. + # 2. The step is currently 3. # Reference: https://docs.github.com/en/actions/learn-github-actions/contexts # Reference: https://docs.github.com/en/actions/learn-github-actions/expressions if: >- ${{ !github.event.repository.is_template - && needs.get_current_step.outputs.current_step == 0 }} + && needs.get_current_step.outputs.current_step == 3 }} # We'll run Ubuntu for performance instead of Mac or Windows. runs-on: ubuntu-latest From 47bf6d6dd1d15913d5dc4e6024b218ed5fb9f159 Mon Sep 17 00:00:00 2001 From: Ripern1 <146399848+Ripern1@users.noreply.github.com> Date: Sun, 1 Oct 2023 18:39:55 +0200 Subject: [PATCH 4/4] Update 0-welcome.yml step 1 --- .github/workflows/0-welcome.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index e9c3e05..de0fb7e 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -1,4 +1,4 @@ -name: Step 0, Welcome +name: Step 1, Welcome # This step triggers after the learner creates a new repository from the template. # This workflow updates from step 0 to step 1.