Skip to content

Bump GitHub Actions versions to resolve warnings#252

Open
ruokun-niu wants to merge 2 commits into
drasi-project:mainfrom
ruokun-niu:resolve-docs-warnings
Open

Bump GitHub Actions versions to resolve warnings#252
ruokun-niu wants to merge 2 commits into
drasi-project:mainfrom
ruokun-niu:resolve-docs-warnings

Conversation

@ruokun-niu

Copy link
Copy Markdown
Contributor

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:

  • Upgraded actions/checkout to v5 in .github/workflows/spellcheck.yaml, .github/workflows/test.yaml, and .github/workflows/website.yaml for improved performance and security. [1] [2] [3]
  • Upgraded actions/github-script to v8 in .github/workflows/test.yaml for both the "Get Release ID by Tag" and "Get Asset ID" steps, ensuring compatibility and access to the latest features. [1] [2]
  • Upgraded actions/setup-node to v5 in .github/workflows/test.yaml and .github/workflows/website.yaml to use the latest Node.js setup improvements. [1] [2]
  • Updated peaceiris/actions-hugo to v3.2.1 in .github/workflows/test.yaml and .github/workflows/website.yaml for newer Hugo features and bug fixes. [1] [2]
  • Upgraded actions/upload-pages-artifact to v5 and actions/deploy-pages to v5 in .github/workflows/website.yaml for improved GitHub Pages deployment support. [1] [2]

Type of change

  • This pull request fixes a bug in Drasi and has an approved issue (issue link required).
  • This pull request adds or changes features of Drasi and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Drasi (issue link optional).

Fixes: #243

Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
@ruokun-niu ruokun-niu self-assigned this Jul 10, 2026
@ruokun-niu
ruokun-niu requested review from a team and Copilot July 10, 2026 16:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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/checkout to v5 across spellcheck, test, and website workflows.
  • Bumped actions/github-script to v8, actions/setup-node to v5, and peaceiris/actions-hugo to v3.2.1 in the test workflow.
  • Bumped GitHub Pages actions (upload-pages-artifact, deploy-pages) to v5 in 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'

Comment thread .github/workflows/test.yaml Outdated
uses: peaceiris/actions-hugo@v3.2.1
with:
hugo-version: ${{ env.HUGO_VERSION }}
extended: true
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
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.

GitHub warning about node.js version when deploying docs website

3 participants