From 6dae6db1d4edf8830fc03a6f54521ce227cb1a01 Mon Sep 17 00:00:00 2001 From: Christoph Daum Date: Mon, 8 Jun 2026 09:02:41 +0200 Subject: [PATCH] chore: bump actions to Node 24 runtimes GitHub forces JavaScript actions off the deprecated Node 20 runtime starting 2026-06-16. Bump checkout v4->v5, cache v4->v5, setup-node v4->v5, github-script v7->v8 across all workflows. Bumps version to 14.6.9 (composer.json + package.json) with a matching CHANGELOG entry, per this repo's per-PR version policy. --- .github/workflows/lint.yml | 12 ++++++------ .github/workflows/pr-enforce.yml | 10 +++++----- .github/workflows/pr-validation.yml | 14 +++++++------- .github/workflows/release.yml | 2 +- .../workflows/validate-conventional-commits.yml | 2 +- CHANGELOG.md | 9 +++++++++ composer.json | 2 +- package.json | 2 +- 8 files changed, 31 insertions(+), 22 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 55ab220..e1d8253 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -27,7 +27,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} @@ -58,10 +58,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '20' cache: 'npm' @@ -78,10 +78,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '20' cache: 'npm' diff --git a/.github/workflows/pr-enforce.yml b/.github/workflows/pr-enforce.yml index 62ac309..01415bb 100644 --- a/.github/workflows/pr-enforce.yml +++ b/.github/workflows/pr-enforce.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set initial status - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | await github.rest.repos.createCommitStatus({ @@ -30,7 +30,7 @@ jobs: }); - name: Wait for validation checks to complete - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const requiredChecks = ['Check Version Bump', 'Check CHANGELOG Entry', 'Validate Training Schedules']; @@ -82,7 +82,7 @@ jobs: - name: Check validation results id: check-results - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | // Get all check runs for this commit @@ -142,7 +142,7 @@ jobs: - name: Update status (success) if: steps.check-results.outputs.all_passed == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | await github.rest.repos.createCommitStatus({ @@ -156,7 +156,7 @@ jobs: - name: Update status (failure) if: steps.check-results.outputs.all_passed != 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const failedChecks = '${{ steps.check-results.outputs.failed_checks }}'; diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index b45643a..d650c97 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout PR branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} - name: Checkout base branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.base.ref }} path: base @@ -60,7 +60,7 @@ jobs: if: needs.validate-version.outputs.result == 'success' steps: - name: Checkout PR branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} @@ -89,7 +89,7 @@ jobs: if: github.event.action != 'edited' steps: - name: Checkout PR branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 @@ -167,7 +167,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout PR branch - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} @@ -203,7 +203,7 @@ jobs: if: always() && github.event.action != 'edited' steps: - name: Update PR description - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | // Get current PR body @@ -260,7 +260,7 @@ jobs: if: always() && github.event.action != 'edited' steps: - name: Create summary comment - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const versionResult = '${{ needs.validate-version.outputs.result }}'; diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44a5cee..61b65e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/.github/workflows/validate-conventional-commits.yml b/.github/workflows/validate-conventional-commits.yml index 248f138..feb97a0 100644 --- a/.github/workflows/validate-conventional-commits.yml +++ b/.github/workflows/validate-conventional-commits.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 # Fetch all history for commit validation diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c424f0..e2fd923 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [14.6.9] - 2026-06-08 + +### Changed + +- Bump GitHub Actions off the deprecated Node 20 runtime: `actions/cache` + v4→v5, `actions/checkout` v4→v5, `actions/github-script` v7→v8, + `actions/setup-node` v4→v5. GitHub forces JavaScript actions onto Node 24 + starting 2026-06-16. + ## [14.6.8] - 2026-04-29 ### Added diff --git a/composer.json b/composer.json index 97c6077..4c8edda 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Body Refactoring - Personal Training Tracker with Dynamic Scheduling", "type": "project", "license": "GPL-2.0-or-later", - "version": "14.6.8", + "version": "14.6.9", "authors": [ { "name": "Christoph Daum", diff --git a/package.json b/package.json index 62449a9..7c78ddb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bodyrefactoring", - "version": "14.6.8", + "version": "14.6.9", "private": true, "description": "Body Refactoring - Personal Training Tracker with Dynamic Scheduling", "scripts": {