mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 10:08:50 -05:00
[PR #1178] [MERGED] Upgrade GitHub Actions for Node 24 compatibility #1155
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1178
Author: @salmanmkc
Created: 2/19/2026
Status: ✅ Merged
Merged: 3/1/2026
Merged by: @profvjreddi
Base:
dev← Head:upgrade-github-actions-node24📝 Commits (1)
4cf7a3aUpgrade GitHub Actions for Node 24 compatibility📊 Changes
24 files changed (+108 additions, -108 deletions)
View changed files
📝
.github/workflows/all-contributors-add.yml(+7 -7)📝
.github/workflows/auto-label.yml(+3 -3)📝
.github/workflows/book-build-baremetal.yml(+7 -7)📝
.github/workflows/book-build-container.yml(+2 -2)📝
.github/workflows/book-preview-dev.yml(+4 -4)📝
.github/workflows/book-publish-live.yml(+23 -23)📝
.github/workflows/book-validate-dev.yml(+2 -2)📝
.github/workflows/infra-cleanup-caches.yml(+2 -2)📝
.github/workflows/infra-container-linux.yml(+1 -1)📝
.github/workflows/infra-container-windows.yml(+1 -1)📝
.github/workflows/infra-health-check.yml(+2 -2)📝
.github/workflows/infra-link-check.yml(+1 -1)📝
.github/workflows/kits-build-pdfs.yml(+2 -2)📝
.github/workflows/kits-preview-dev.yml(+2 -2)📝
.github/workflows/kits-publish-live.yml(+2 -2)📝
.github/workflows/labs-preview-dev.yml(+1 -1)📝
.github/workflows/labs-publish-live.yml(+1 -1)📝
.github/workflows/publish-all-live.yml(+3 -3)📝
.github/workflows/tinytorch-build-pdfs.yml(+6 -6)📝
.github/workflows/tinytorch-preview-dev.yml(+4 -4)...and 4 more files
📄 Description
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
actions/cachev4v5actions/checkoutv4v6actions/download-artifactv4v7actions/github-scriptv7v8actions/setup-nodev4v6actions/setup-pythonv4,v5v6actions/upload-artifactv4v6Context
Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.
Why this matters
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.