From b0da0cf202b277923e642efdfb92716527364de9 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Thu, 28 May 2026 21:12:41 -0700 Subject: [PATCH] chore(ci): update GHA actions to Node.js 24-compatible versions (#40477) Co-authored-by: Claude Code --- .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