From b3c25f151b9dd8e8630172a32ed4525408ada63e Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 30 Jun 2026 12:40:17 +1000 Subject: [PATCH] DOC-3520: Fix CI workflows for Node 24 runner migration Upgrade configure-aws-credentials to v6 so OIDC role assumption no longer hangs when GitHub forces Node 20 actions onto Node 24 runners. Pin preview_create to Node 22 LTS on main to avoid Antora silent failures. --- .github/workflows/deploy_docs_v2.yml | 2 +- .github/workflows/preview_create.yml | 4 ++-- .github/workflows/preview_delete.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_docs_v2.yml b/.github/workflows/deploy_docs_v2.yml index 80a569e2d9..30b3959e29 100644 --- a/.github/workflows/deploy_docs_v2.yml +++ b/.github/workflows/deploy_docs_v2.yml @@ -65,7 +65,7 @@ jobs: mv ./build/docs/sitemap.xml ./build/docs/antora-sitemap.xml - name: configure aws credentials - uses: aws-actions/configure-aws-credentials@v5.0.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: 'arn:aws:iam::${{ env.ACCT }}:role/${{ env.TARGET }}-tinymce-docs-update' role-session-name: tinymce-docs-${{ env.TARGET }}-release diff --git a/.github/workflows/preview_create.yml b/.github/workflows/preview_create.yml index eebc3a64c9..b9ad8adcd6 100644 --- a/.github/workflows/preview_create.yml +++ b/.github/workflows/preview_create.yml @@ -35,7 +35,7 @@ jobs: uses: actions/setup-node@v5 with: cache: 'yarn' - node-version: 24 + node-version: 22 - name: Install dependencies run: yarn install @@ -55,7 +55,7 @@ jobs: mv ./build/docs/sitemap.xml ./build/docs/antora-sitemap.xml - name: configure aws credentials - uses: aws-actions/configure-aws-credentials@v5.0.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: arn:aws:iam::327995277200:role/staging-tinymce-docs-update role-session-name: tinymce-docs-update diff --git a/.github/workflows/preview_delete.yml b/.github/workflows/preview_delete.yml index 09d138b907..60c9b2ffa8 100644 --- a/.github/workflows/preview_delete.yml +++ b/.github/workflows/preview_delete.yml @@ -33,7 +33,7 @@ jobs: node-version: 24 - name: configure aws credentials - uses: aws-actions/configure-aws-credentials@v5.0.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: arn:aws:iam::327995277200:role/staging-tinymce-docs-update role-session-name: tinymce-docs-delete