From 73cd9ecb1eb44d35244096bc4d2d9165f5c97fd5 Mon Sep 17 00:00:00 2001 From: Lukas Wallrich Date: Fri, 1 May 2026 18:20:51 +0100 Subject: [PATCH] Bump GitHub Actions to Node-24 stable versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clears the 2026-06-02 Node 20 deprecation cutoff across all workflows. - actions/checkout v4 → v6 - actions/setup-python v5 → v6 - actions/setup-node v4 → v6 - actions/upload-artifact v4 → v7 - actions/download-artifact v4 → v7 (avoiding v8's new error-on-hash-mismatch default) - peter-evans/find-comment v3 → v4 - peter-evans/create-or-update-comment v4 → v5 - peter-evans/create-issue-from-file v5 → v6 SHA-pinned third-party actions (peaceiris/*, dawidd6/*) and r-lib/setup-pandoc@v2 are left alone — they will be force-migrated to Node 24 by the runner. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/check_images.yaml | 8 ++++---- .github/workflows/cleanup-branches.yml | 6 +++--- .github/workflows/data-processing.yml | 8 ++++---- .github/workflows/deploy.yaml | 6 +++--- .github/workflows/link-check.yaml | 4 ++-- .github/workflows/spell-check.yaml | 8 ++++---- .github/workflows/staging-aggregate.yaml | 10 +++++----- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/check_images.yaml b/.github/workflows/check_images.yaml index 2f076f246e9..011f2223523 100644 --- a/.github/workflows/check_images.yaml +++ b/.github/workflows/check_images.yaml @@ -25,10 +25,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.x' @@ -47,7 +47,7 @@ jobs: python scripts/webp_conversion/check_images_in_pr.py - name: Find Comment - uses: peter-evans/find-comment@v3 + uses: peter-evans/find-comment@v4 id: fc with: issue-number: ${{ github.event.pull_request.number }} @@ -55,7 +55,7 @@ jobs: body-includes: mage files/references - name: Create or update comment - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@v5 with: comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} diff --git a/.github/workflows/cleanup-branches.yml b/.github/workflows/cleanup-branches.yml index 00d4f2c689f..4d7e14f9145 100644 --- a/.github/workflows/cleanup-branches.yml +++ b/.github/workflows/cleanup-branches.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -95,7 +95,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -165,7 +165,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/data-processing.yml b/.github/workflows/data-processing.yml index f24f606366f..ed2d6b19b59 100644 --- a/.github/workflows/data-processing.yml +++ b/.github/workflows/data-processing.yml @@ -58,7 +58,7 @@ jobs: # Repository Setup #================ - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 # Checkout the repository code to the runner environment #====================== @@ -94,7 +94,7 @@ jobs: # Install Python 3.11 for running scripts #======================================== - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ env.PYTHON_VERSION }} cache: 'pip' @@ -185,7 +185,7 @@ jobs: # Setup Node.js for bibliography processing #======================================== - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '18' cache: 'npm' @@ -446,7 +446,7 @@ jobs: #======================================== - name: Upload data artifact id: upload-artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: data-artifact path: | diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index dda139bfa5c..61ee66842f1 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -37,7 +37,7 @@ jobs: # Repository Setup # ======================= - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -173,7 +173,7 @@ jobs: # Upload built website as artifact for deployment #======================================== - name: Upload site artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: forrt-website-${{ github.run_number }} path: public/ @@ -195,7 +195,7 @@ jobs: # Download website artifact for production deployment #======================================== - name: Download Artifact - Website - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: forrt-website-${{ github.run_number }} path: ${{ github.repository }}/forrt-website diff --git a/.github/workflows/link-check.yaml b/.github/workflows/link-check.yaml index 467e1c75322..5a5b6bc70ae 100644 --- a/.github/workflows/link-check.yaml +++ b/.github/workflows/link-check.yaml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download latest build artifact uses: dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 @@ -166,7 +166,7 @@ jobs: - name: Create issue from lychee output if: steps.lychee.outputs.exit_code != 0 || steps.doi-check.outputs.found == 'true' - uses: peter-evans/create-issue-from-file@v5 + uses: peter-evans/create-issue-from-file@v6 with: title: "Link Checker Report" content-filepath: /tmp/lychee/out.md diff --git a/.github/workflows/spell-check.yaml b/.github/workflows/spell-check.yaml index 687b04f278a..3e0d519ddfb 100644 --- a/.github/workflows/spell-check.yaml +++ b/.github/workflows/spell-check.yaml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -47,7 +47,7 @@ jobs: echo "EOF" >> $GITHUB_OUTPUT - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.x' @@ -66,7 +66,7 @@ jobs: - name: Find Comment if: github.event_name == 'pull_request' - uses: peter-evans/find-comment@v3 + uses: peter-evans/find-comment@v4 id: fc with: issue-number: ${{ github.event.pull_request.number }} @@ -75,7 +75,7 @@ jobs: - name: Create or update comment if: github.event_name == 'pull_request' - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@v5 with: comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} diff --git a/.github/workflows/staging-aggregate.yaml b/.github/workflows/staging-aggregate.yaml index 7a9f92a58da..ec9d5cbeea7 100644 --- a/.github/workflows/staging-aggregate.yaml +++ b/.github/workflows/staging-aggregate.yaml @@ -58,7 +58,7 @@ jobs: has-prs: ${{ steps.aggregate.outputs.has_prs }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.STAGING_GITHUB_TOKEN }} @@ -228,7 +228,7 @@ jobs: HUGO_EXTENDED: true steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ needs.aggregate-prs.outputs.aggregated-branch || 'master' }} @@ -382,7 +382,7 @@ jobs: HUGO_ENV: staging - name: Upload site artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: forrt-website-aggregate-${{ github.run_number }} path: public/ @@ -403,13 +403,13 @@ jobs: if: always() && (needs.build.result == 'success' || github.event_name == 'schedule') steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.STAGING_GITHUB_TOKEN }} - name: Download Artifact - Website if: needs.build.result == 'success' - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: forrt-website-aggregate-${{ github.run_number }} path: ${{ github.repository }}/forrt-website