Skip to content

Update GitHub workflows to current action versions and runtimes - #1

Open
sohaibafifi with Copilot wants to merge 2 commits into
mainfrom
copilot/update-github-workflows
Open

sohaibafifi with Copilot wants to merge 2 commits into
mainfrom
copilot/update-github-workflows

Conversation

Copilot AI commented Mar 17, 2026 •

Copy link
Copy Markdown

Both workflow files were pinned to outdated action versions and EOL runtimes from 2021.

Action versions

  • actions/checkout v2 → v4
  • actions/setup-node v2 → v4
  • peaceiris/actions-hugo v2 → v3
  • peaceiris/actions-gh-pages v3 → v4

Runtimes

  • Node.js 14 (EOL) → 20 (LTS)
  • Hugo 0.85.0 → 0.145.0

Other

  • Replaced manual actions/cache@v1 with setup-node@v4's built-in cache: 'npm'
  • Fixed gh-pages base URL from http:// to https://

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Co-authored-by: sohaibafifi <1006521+sohaibafifi@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub workflows Update GitHub workflows to current action versions and runtimes Mar 17, 2026
Copilot AI requested a review from sohaibafifi March 17, 2026 10:27
@sohaibafifi
sohaibafifi marked this pull request as ready for review March 17, 2026 10:48
Copilot AI review requested due to automatic review settings March 17, 2026 10:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the repository’s GitHub Actions workflows by upgrading pinned action versions and build tool runtimes that were previously on older/EOL releases, keeping CI/CD compatible with current GitHub-hosted runner environments.

Changes:

  • Updated GitHub Action versions (checkout, setup-node, Hugo build action, gh-pages deploy action) to current major versions.
  • Upgraded build runtimes (Node.js 14 → 20; Hugo 0.85.0 → 0.145.0).
  • Switched from a manual actions/cache step to setup-node@v4 built-in npm caching and corrected a GitHub Pages base URL to https://.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/rt-web.yml Updates action versions, Node/Hugo versions, replaces manual npm cache with setup-node caching.
.github/workflows/gh-pages.yml Same action/runtime upgrades; also updates the site baseURL to use HTTPS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 22 to 23
submodules: recursive
fetch-depth: 0
Comment on lines 22 to 23
submodules: recursive
fetch-depth: 0

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants