This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch update-github-actions-node24
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit bef1df32df79ccb0561f6c502b14a208f61cc9a1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Mar 11 13:32:30 2026 +0100

    Update GitHub Actions to Node 24-compatible versions
    
    All actions were using Node 20 which is deprecated and will be forced
    to Node 24 starting June 2nd, 2026. Updated actions/checkout (v6.0.2),
    actions/setup-python (v6.2.0), actions/setup-node (v6.3.0),
    actions/upload-artifact (v7.0.0), aws-actions/configure-aws-credentials
    (v6.0.0). Replaced peaceiris/actions-hugo with direct Hugo binary
    download since it has no Node 24-compatible release. Added github-actions
    ecosystem to dependabot with grouped updates.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 .github/dependabot.yml        |  8 ++++++++
 .github/workflows/build.yml   | 21 ++++++++++-----------
 .github/workflows/upgrade.yml |  2 +-
 3 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index afd2188072..610da42134 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -30,3 +30,11 @@ updates:
       npm-dependencies:
         patterns:
           - "*"
+  - package-ecosystem: github-actions
+    directory: /
+    schedule:
+      interval: daily
+    groups:
+      github-actions:
+        patterns:
+          - "*"
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ee1382cc00..4b827d111b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -57,7 +57,7 @@ jobs:
           && sudo apt update \
           && sudo apt install gh -y
       - name: 🗂 Checkout
-        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # 
v4.2.2
+        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # 
v6.0.2
         with:
           submodules: recursive
           fetch-depth: 1
@@ -74,18 +74,17 @@ jobs:
         working-directory: /mnt/airflow-site
         run: echo "Working directory set to /mnt/airflow-site"
       - name: 🐍 Setup Python
-        uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b  # 
v5.3.0
+        uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405  # 
v6.2.0
         with:
           python-version: '3.12'
       - name: ❤️  Install Node 22 LTS
-        uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a  # 
v4.2.0
+        uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f  # 
v6.3.0
         with:
           node-version: 22
       - name: 📚 Install Hugo
-        uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f  
# v3.0.0
-        with:
-          hugo-version: '0.157.0'
-          extended: true
+        run: |
+          HUGO_VERSION="0.157.0"
+          curl -fsSL 
"https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz";
 | sudo tar -xz -C /usr/local/bin hugo
       - name: 📦 Install Docsy theme dependencies (Bootstrap & FontAwesome)
         working-directory: /mnt/airflow-site/landing-pages/site/themes/docsy
         run: npm install
@@ -104,7 +103,7 @@ jobs:
           uv tool install prek
           prek run --all-files --color always
       - name: 🗂 Checkout ${{ env.PUBLISH_BRANCH }} branch with minimum depth
-        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # 
v4.2.2
+        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # 
v6.0.2
         with:
           ref: ${{ env.PUBLISH_BRANCH }}
           fetch-depth: 1
@@ -125,7 +124,7 @@ jobs:
           rm -rf /tmp/aws/
       - name: ☁ Configure AWS credentials
         if: env.PROD_PUBLISH_REQUIRED != 'false' || 
env.STAGING_PUBLISH_REQUIRED != 'false'
-        uses: 
aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502  
# v4.0.2
+        uses: 
aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7  
# v6.0.0
         with:
           aws-access-key-id: ${{ secrets.DOCS_AWS_ACCESS_KEY_ID }}
           aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
@@ -190,7 +189,7 @@ jobs:
           echo "Running git push to ${PUBLISH_BRANCH} branch"
           git push origin ${PUBLISH_BRANCH}
       - name: 🚀 Upload sphinx_airflow_theme package as artifact
-        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
 # v4.6.2
+        uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f 
 # v7.0.0
         with:
           name: airflow-sphinx-theme
           path: './sphinx_airflow_theme/dist'
@@ -203,7 +202,7 @@ jobs:
           cd demo
           ./docs.sh build
       - name: 🚀 Upload sphinx_airflow_theme demo as artifact
-        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
 # v4.6.2
+        uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f 
 # v7.0.0
         with:
           name: airflow-sphinx-theme-demo
           path: './sphinx_airflow_theme/demo/_build'
diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml
index 185569b7f6..21e74f2149 100644
--- a/.github/workflows/upgrade.yml
+++ b/.github/workflows/upgrade.yml
@@ -32,7 +32,7 @@ jobs:
     runs-on: ["ubuntu-22.04"]
     steps:
       - name: 🗂 Checkout
-        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # 
v4.2.2
+        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # 
v6.0.2
         with:
           submodules: recursive
           lfs: true

Reply via email to