From bea95dc1aa8df5314ba33eec6a1bb2e6169a01c8 Mon Sep 17 00:00:00 2001 From: Rej Ect Date: Tue, 12 Aug 2025 08:24:13 +0300 Subject: [PATCH] chore(ci): upgrade checkout to v5 --- .github/workflows/algolia-indexing.yml | 2 +- .github/workflows/delete_preview.yml | 2 +- .github/workflows/pull_request.yml | 6 +++--- .github/workflows/push.yml | 2 +- .github/workflows/tag.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/algolia-indexing.yml b/.github/workflows/algolia-indexing.yml index c58386d6f4..1050d9a425 100644 --- a/.github/workflows/algolia-indexing.yml +++ b/.github/workflows/algolia-indexing.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod diff --git a/.github/workflows/delete_preview.yml b/.github/workflows/delete_preview.yml index 5aa5bedc2e..081c00ba1d 100644 --- a/.github/workflows/delete_preview.yml +++ b/.github/workflows/delete_preview.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: node-version: 16 ref: gh-pages diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 86594a5a47..97cf228e9f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -10,7 +10,7 @@ jobs: typos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: crate-ci/typos@master test-deploy: @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: node-version: 16 @@ -47,7 +47,7 @@ jobs: - test-deploy steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: node-version: 16 ref: gh-pages diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e9a1580083..a7f28aa2bc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: ${{ !contains(github.event.head_commit.message, 'chore') || (github.ref_name == 'main' && !contains(github.event.head_commit.message, 'chore(release)')) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index af6e792607..d9c4e8ac15 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -10,7 +10,7 @@ jobs: name: Creating a release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ secrets.USER_TOKEN }}