From d2589dfefb246941101d1770080414fff9fd5e19 Mon Sep 17 00:00:00 2001 From: Dmytro Soroka Date: Mon, 3 Aug 2026 16:03:28 +0200 Subject: [PATCH] fix: actions/checkout v4 -> v7 (Node.js 20 runners deprecated) GitHub is retiring Node.js 20 on Actions runners; checkout@v4 targets it and every caller now gets a deprecation warning (seen in vaultica's calculate_tag). checkout@v7 is the current major on Node 24. Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci-main.yml | 2 +- .github/workflows/ci-pr.yml | 2 +- .github/workflows/workflow-compute-next-tag.yml | 2 +- .github/workflows/workflow-create-tag.yml | 2 +- .github/workflows/workflow-deploy-to-s3.yml | 2 +- .github/workflows/workflow-update-version-file.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index b2e663d..7fd3075 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install actionlint run: | diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index eb769c5..a4d6aa9 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install actionlint run: | diff --git a/.github/workflows/workflow-compute-next-tag.yml b/.github/workflows/workflow-compute-next-tag.yml index 01f29e5..85c3f11 100644 --- a/.github/workflows/workflow-compute-next-tag.yml +++ b/.github/workflows/workflow-compute-next-tag.yml @@ -37,7 +37,7 @@ jobs: previous-tag: ${{ steps.compute.outputs.previous_tag }} steps: - name: Check out repository with tags - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs.target-branch }} fetch-depth: 0 diff --git a/.github/workflows/workflow-create-tag.yml b/.github/workflows/workflow-create-tag.yml index e4af6b9..2a4577e 100644 --- a/.github/workflows/workflow-create-tag.yml +++ b/.github/workflows/workflow-create-tag.yml @@ -38,7 +38,7 @@ jobs: previous-tag: ${{ steps.create.outputs.previous_tag }} steps: - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 ref: ${{ inputs.target-branch }} diff --git a/.github/workflows/workflow-deploy-to-s3.yml b/.github/workflows/workflow-deploy-to-s3.yml index 077d31e..f797306 100644 --- a/.github/workflows/workflow-deploy-to-s3.yml +++ b/.github/workflows/workflow-deploy-to-s3.yml @@ -89,7 +89,7 @@ jobs: SOURCE_DIR: ${{ inputs.source }} steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref != '' && inputs.ref || inputs.target-branch }} fetch-depth: 0 diff --git a/.github/workflows/workflow-update-version-file.yml b/.github/workflows/workflow-update-version-file.yml index 2440da8..d2ede1b 100644 --- a/.github/workflows/workflow-update-version-file.yml +++ b/.github/workflows/workflow-update-version-file.yml @@ -36,7 +36,7 @@ jobs: new_tag: ${{ steps.write_version.outputs.new_tag }} steps: - name: Check out branch with tags - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs['target-branch'] }} fetch-depth: 0