Bump GitHub Actions versions to resolve warnings#252
Open
ruokun-niu wants to merge 2 commits into
Open
Conversation
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions workflow dependencies to newer major versions to address runner deprecation warnings (notably Node.js 20 deprecation in Actions) and keep CI/CD workflows current.
Changes:
- Bumped
actions/checkouttov5across spellcheck, test, and website workflows. - Bumped
actions/github-scripttov8,actions/setup-nodetov5, andpeaceiris/actions-hugotov3.2.1in the test workflow. - Bumped GitHub Pages actions (
upload-pages-artifact,deploy-pages) tov5in the website workflow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/website.yaml | Updates Pages build/deploy action versions (checkout/setup-node/hugo + pages artifact/deploy) to newer major versions. |
| .github/workflows/test.yaml | Updates action versions used for release/asset lookup and Hugo build/test steps (checkout/github-script/setup-node/hugo). |
| .github/workflows/spellcheck.yaml | Updates checkout action version used by spellcheck workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+80
to
83
| uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: '19' | ||
|
|
| uses: peaceiris/actions-hugo@v3.2.1 | ||
| with: | ||
| hugo-version: ${{ env.HUGO_VERSION }} | ||
| extended: true |
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
agentofreality
approved these changes
Jul 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request updates the GitHub Actions workflows to use the latest versions of several actions and tools. These changes help ensure better security, access to new features, and improved reliability for CI/CD processes.
Dependency and Action Version Upgrades:
actions/checkouttov5in.github/workflows/spellcheck.yaml,.github/workflows/test.yaml, and.github/workflows/website.yamlfor improved performance and security. [1] [2] [3]actions/github-scripttov8in.github/workflows/test.yamlfor both the "Get Release ID by Tag" and "Get Asset ID" steps, ensuring compatibility and access to the latest features. [1] [2]actions/setup-nodetov5in.github/workflows/test.yamland.github/workflows/website.yamlto use the latest Node.js setup improvements. [1] [2]peaceiris/actions-hugotov3.2.1in.github/workflows/test.yamland.github/workflows/website.yamlfor newer Hugo features and bug fixes. [1] [2]actions/upload-pages-artifacttov5andactions/deploy-pagestov5in.github/workflows/website.yamlfor improved GitHub Pages deployment support. [1] [2]Type of change
Fixes: #243