diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index 1ee7739..a63c508 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@v4 + uses: actions/checkout@v5 - 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@v4 + uses: actions/checkout@v5 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 5dd9cbe..cce2ff4 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@v4 + uses: actions/checkout@v5 - 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@v4 + uses: actions/checkout@v5 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 bfa74d8..aba51f4 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@v4 + uses: actions/checkout@v5 - 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@v4 + uses: actions/checkout@v5 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 23c636c..ace66dc 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@v4 + uses: actions/checkout@v5 - 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@v4 + uses: actions/checkout@v5 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 ae2e4bc..27c35cb 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@v4 + uses: actions/checkout@v5 - 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@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 # Let's get all the branches. diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index 15a61d6..b00f8e9 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -9,7 +9,7 @@ jobs: - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: List files in the repository