This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch chore/update-gha-actions-node24 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 0376efd6de2c9c0d6641542b0578727b3bea5f41 Author: Claude Code <[email protected]> AuthorDate: Wed May 27 16:21:29 2026 -0700 chore(ci): update GHA actions to Node.js 24-compatible versions GitHub Actions will force Node.js 24 as the default runtime on June 2nd, 2026. Update the four actions flagged in the deprecation annotations: - docker/setup-qemu-action: v3.6.0 → v4.1.0 - docker/setup-buildx-action: v3.12.0 → v4.1.0 - docker/login-action: v3.7.0 → v4.2.0 - actions/setup-node: v4 → v6.4.0 (pinned by hash) Also update the unpinned actions/checkout@v4 in setup-supersetbot to the pinned v6.0.2 hash already used elsewhere in the repo. Add 3-attempt retry loop to the "Docker pull" step to tolerate the transient DockerHub connection-reset errors seen in recent master runs. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --- .github/actions/setup-docker/action.yml | 6 +++--- .github/actions/setup-supersetbot/action.yml | 4 ++-- .github/workflows/docker.yml | 6 +++++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/actions/setup-docker/action.yml b/.github/actions/setup-docker/action.yml index 49b477ace33..b8b02a9505f 100644 --- a/.github/actions/setup-docker/action.yml +++ b/.github/actions/setup-docker/action.yml @@ -26,7 +26,7 @@ runs: - name: Set up QEMU if: ${{ inputs.build == 'true' }} - uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0 + uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0 with: # Pin the binfmt image to a specific QEMU release. The default # (`tonistiigi/binfmt:latest`) is a moving target, and drift across @@ -39,12 +39,12 @@ runs: - name: Set up Docker Buildx if: ${{ inputs.build == 'true' }} - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 + uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0 - name: Try to login to DockerHub if: ${{ inputs.login-to-dockerhub == 'true' }} continue-on-error: true - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 + uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0 with: username: ${{ inputs.dockerhub-user }} password: ${{ inputs.dockerhub-token }} diff --git a/.github/actions/setup-supersetbot/action.yml b/.github/actions/setup-supersetbot/action.yml index c557b9b7e83..9ae360bf930 100644 --- a/.github/actions/setup-supersetbot/action.yml +++ b/.github/actions/setup-supersetbot/action.yml @@ -10,7 +10,7 @@ runs: steps: - name: Setup Node Env - uses: actions/setup-node@v4 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: '20' @@ -21,7 +21,7 @@ runs: - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" if: ${{ inputs.from-npm == 'false' }} - uses: actions/checkout@v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: apache-superset/supersetbot path: supersetbot diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 0b50cfc664e..5a78d8ca773 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -95,7 +95,11 @@ jobs: # in the context of push (using multi-platform build), we need to pull the image locally - name: Docker pull if: github.event_name == 'push' && (steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker) - run: docker pull $IMAGE_TAG + run: | + for i in 1 2 3; do + docker pull $IMAGE_TAG && break + [ $i -lt 3 ] && sleep 30 + done - name: Print docker stats if: steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker
