From e61ca09f0babc51f23c08f852d2405e22f72200c Mon Sep 17 00:00:00 2001 From: Dana Breseman Date: Fri, 5 Jun 2026 17:29:24 +0200 Subject: [PATCH] Update versions for Node.js 24 compatibility --- .github/workflows/auto-assign-pr.yml | 2 +- .github/workflows/branch-deletion-pr-creation.yml | 4 ++-- .github/workflows/branch-deletion-pr-processing.yml | 2 +- .github/workflows/check-claude-settings.yml | 2 +- .github/workflows/lint-action.yml | 12 ++++++------ .github/workflows/remunusedattachments.yml | 6 +++--- .github/workflows/vale.yml | 4 +++- 7 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/auto-assign-pr.yml b/.github/workflows/auto-assign-pr.yml index 22761f9fd83..5957bf8ebd3 100644 --- a/.github/workflows/auto-assign-pr.yml +++ b/.github/workflows/auto-assign-pr.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Assign PR to creator if on Technical Writers team - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const creator = context.payload.pull_request.user.login; diff --git a/.github/workflows/branch-deletion-pr-creation.yml b/.github/workflows/branch-deletion-pr-creation.yml index 3c3099e40ff..252a525eb6b 100644 --- a/.github/workflows/branch-deletion-pr-creation.yml +++ b/.github/workflows/branch-deletion-pr-creation.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} @@ -115,7 +115,7 @@ jobs: - name: Create Deletion PR if: env.HAS_BRANCHES == 'true' - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v8 with: token: ${{ secrets.GITHUB_TOKEN }} title: "[Auto] Branch Deletion Candidates - ${{ env.CURRENT_DATE }}" diff --git a/.github/workflows/branch-deletion-pr-processing.yml b/.github/workflows/branch-deletion-pr-processing.yml index 58bbf850897..f279c107443 100644 --- a/.github/workflows/branch-deletion-pr-processing.yml +++ b/.github/workflows/branch-deletion-pr-processing.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check-claude-settings.yml b/.github/workflows/check-claude-settings.yml index 0a53c82ae03..04c65c9c0fa 100644 --- a/.github/workflows/check-claude-settings.yml +++ b/.github/workflows/check-claude-settings.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check for Claude configuration changes - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const comment = `⚠️ **Claude Configuration Warning** diff --git a/.github/workflows/lint-action.yml b/.github/workflows/lint-action.yml index 56b7452c61d..fa412a09278 100644 --- a/.github/workflows/lint-action.yml +++ b/.github/workflows/lint-action.yml @@ -20,12 +20,12 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout repo - uses: actions/checkout@v4 - # Installs NodeJS v20 in runner environment (upgraded from v16 in Feb 2024) + uses: actions/checkout@v6 + # Installs NodeJS v24 in runner environment (upgraded from v20 in Jun 2026) - name: Install NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '24' # Installs linting tool via npm # Look at using the related GitHub action here: https://github.com/DavidAnson/markdownlint-cli2-action - name: Install markdown linter @@ -44,9 +44,9 @@ jobs: echo "VER<> $GITHUB_ENV echo "$VER" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV - # Creates PR for linted content changes - needs version > 4 for NodeJS 20 + # Creates PR for linted content changes - needs version > 6 for NodeJS 24 - name: Create pull request - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v8 with: commit-message: Run markdownlint-cli2 on docs to find (and correct) linting errors. title: '[Auto] Lint docs' diff --git a/.github/workflows/remunusedattachments.yml b/.github/workflows/remunusedattachments.yml index d3f1a8336c6..964a917b0f7 100644 --- a/.github/workflows/remunusedattachments.yml +++ b/.github/workflows/remunusedattachments.yml @@ -20,15 +20,15 @@ jobs: # Checks out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout repo - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + uses: actions/checkout@v6 + - uses: actions/setup-python@v6 with: python-version: '3.10' - run: python _scripts/removeUnusedAttachments.py # Creates pull request - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v8 with: commit-message: Run removeUnusedAttachments.py on docs title: '[Auto] Remove unused attachments' diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index e217301c6fa..f330863e154 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -16,13 +16,15 @@ jobs: # Only run on Mendix repo, not forks, and not on draft PRs if: github.repository_owner == 'mendix' && github.event.pull_request.draft == false runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true # Cancel old runs when new commits are pushed concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} cancel-in-progress: true steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Get changed files id: changed-files