From 04ce651639240a824effa3909751caa6a580975a Mon Sep 17 00:00:00 2001 From: Salman Chishti Date: Mon, 2 Mar 2026 13:40:45 +0000 Subject: [PATCH] Upgrade GitHub Actions for Node 24 compatibility (#536) ## Summary Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026. ## Changes | Action | Old Version(s) | New Version | Release | Files | |--------|---------------|-------------|---------|-------| | `actions/checkout` | [`v4`](https://github.com/actions/checkout/releases/tag/v4) | [`v6`](https://github.com/actions/checkout/releases/tag/v6) | [Release](https://github.com/actions/checkout/releases/tag/v6) | main.yml, pull_request.yml, pull_request_label.yml | ## Context Per [GitHub's announcement](https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/), Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026. ### Why this matters - **Node 20 EOL**: April 2026 - **Node 24 default**: March 4th, 2026 - **Action**: Update to latest action versions that support Node 24 ### Security Note Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references. ### Testing These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging. Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> Co-authored-by: Rick Newton-Rogers --- .github/workflows/main.yml | 4 ++-- .github/workflows/pull_request.yml | 4 ++-- .github/workflows/pull_request_label.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3945fc5..a041af6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: h2spec-matrix: '${{ steps.generate-matrix.outputs.h2spec-matrix }}' steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - id: generate-matrix @@ -55,7 +55,7 @@ jobs: integration-tests-matrix: '${{ steps.generate-matrix.outputs.integration-tests-matrix }}' steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - id: generate-matrix diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 7bb9259..f110eb5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -35,7 +35,7 @@ jobs: h2spec-matrix: '${{ steps.generate-matrix.outputs.h2spec-matrix }}' steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - id: generate-matrix @@ -59,7 +59,7 @@ jobs: integration-tests-matrix: '${{ steps.generate-matrix.outputs.integration-tests-matrix }}' steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - id: generate-matrix diff --git a/.github/workflows/pull_request_label.yml b/.github/workflows/pull_request_label.yml index d2da2f1..ed8754b 100644 --- a/.github/workflows/pull_request_label.yml +++ b/.github/workflows/pull_request_label.yml @@ -14,7 +14,7 @@ jobs: timeout-minutes: 1 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false - name: Check for Semantic Version label