From 97365ce445ec6c3c60511bfc48ab7cd1d7fa59be Mon Sep 17 00:00:00 2001 From: imbajin Date: Tue, 9 Jun 2026 12:42:06 +0800 Subject: [PATCH] chore(workflows): upgrade checkout to v6 - upgrade all workflow checkout actions to v6 - remove Node.js 20 deprecation warnings from checkout - keep workflow triggers, matrices, and publish logic unchanged --- .github/workflows/_publish_image_reusable.yml | 2 +- .github/workflows/_publish_pd_store_server_reusable.yml | 6 +++--- .github/workflows/publish_computer_image.yml | 2 +- .github/workflows/publish_hugegraph_hubble.yml | 2 +- .github/workflows/validate-release.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/_publish_image_reusable.yml b/.github/workflows/_publish_image_reusable.yml index 10dea1f..1307e06 100644 --- a/.github/workflows/_publish_image_reusable.yml +++ b/.github/workflows/_publish_image_reusable.yml @@ -166,7 +166,7 @@ jobs: } >> "$GITHUB_OUTPUT" - name: Checkout source (${{ matrix.module }}) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ inputs.repository_url }} ref: ${{ needs.prepare.outputs.checkout_ref }} diff --git a/.github/workflows/_publish_pd_store_server_reusable.yml b/.github/workflows/_publish_pd_store_server_reusable.yml index 26a65aa..fe0c8eb 100644 --- a/.github/workflows/_publish_pd_store_server_reusable.yml +++ b/.github/workflows/_publish_pd_store_server_reusable.yml @@ -164,7 +164,7 @@ jobs: fi - name: Checkout source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ env.REPOSITORY_URL }} ref: ${{ env.SOURCE_SHA }} @@ -305,7 +305,7 @@ jobs: } >> "$GITHUB_OUTPUT" - name: Checkout source (${{ matrix.module }}) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ env.REPOSITORY_URL }} ref: ${{ env.SOURCE_SHA }} @@ -401,7 +401,7 @@ jobs: } >> "$GITHUB_OUTPUT" - name: Checkout source (${{ matrix.module }}) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ env.REPOSITORY_URL }} ref: ${{ env.SOURCE_SHA }} diff --git a/.github/workflows/publish_computer_image.yml b/.github/workflows/publish_computer_image.yml index f681144..80b0f2f 100644 --- a/.github/workflows/publish_computer_image.yml +++ b/.github/workflows/publish_computer_image.yml @@ -80,7 +80,7 @@ jobs: go-version: '1.19' - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ env.repository_url }} ref: ${{ env.repository_branch }} diff --git a/.github/workflows/publish_hugegraph_hubble.yml b/.github/workflows/publish_hugegraph_hubble.yml index 08a2d86..3986aff 100644 --- a/.github/workflows/publish_hugegraph_hubble.yml +++ b/.github/workflows/publish_hugegraph_hubble.yml @@ -39,7 +39,7 @@ jobs: password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: repository: ${{ inputs.repository_url }} ref: ${{ inputs.repository_branch }} diff --git a/.github/workflows/validate-release.yml b/.github/workflows/validate-release.yml index a75a438..48f8ffc 100644 --- a/.github/workflows/validate-release.yml +++ b/.github/workflows/validate-release.yml @@ -32,7 +32,7 @@ jobs: USE_STAGE: 'true' # Whether to include the stage repository. steps: - name: Checkout source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install JDK ${{ matrix.java_version }} uses: actions/setup-java@v3 with: