Skip to content

chore(workflows): upgrade checkout to v6#20

Merged
imbajin merged 1 commit into
masterfrom
cdx-upgrade-checkout-v6
Jun 9, 2026
Merged

chore(workflows): upgrade checkout to v6#20
imbajin merged 1 commit into
masterfrom
cdx-upgrade-checkout-v6

Conversation

@imbajin

@imbajin imbajin commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade all workflow uses of actions/checkout from v3/v4 to v6.
  • Address GitHub Actions Node.js 20 deprecation warnings for checkout.
  • Keep workflow triggers, matrices, Docker build/publish logic, and release behavior unchanged.

Validation

  • rg --hidden -n "actions/checkout@v[0-9]+" .
  • ruby -e 'require "yaml"; Dir[".github/workflows/*.{yml,yaml}"].sort.each { |f| YAML.load_file(f); puts "OK #{f}" }'
  • git diff --check

Note: actionlint is not installed in the local environment, so validation used YAML parsing plus diff checks.

Summary by CodeRabbit

发布说明

  • Chores
    • 升级CI/CD工作流中的源代码检出操作版本,以确保构建和发布流程使用最新的工具版本。

- upgrade all workflow checkout actions to v6
- remove Node.js 20 deprecation warnings from checkout
- keep workflow triggers, matrices, and publish logic unchanged
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 9, 2026
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: aa5c9eff-ae54-49c9-9f9c-658edabb0551

📥 Commits

Reviewing files that changed from the base of the PR and between 86d4718 and 97365ce.

📒 Files selected for processing (5)
  • .github/workflows/_publish_image_reusable.yml
  • .github/workflows/_publish_pd_store_server_reusable.yml
  • .github/workflows/publish_computer_image.yml
  • .github/workflows/publish_hugegraph_hubble.yml
  • .github/workflows/validate-release.yml

概览

在五个 GitHub Actions 工作流文件中统一升级 actions/checkout 版本至 v6,以保持依赖版本的一致性和获取最新的检出 action 功能与安全性更新。

变更

Actions Checkout 版本升级

层 / 文件 概述
可复用工作流中的 checkout 升级
.github/workflows/_publish_image_reusable.yml.github/workflows/_publish_pd_store_server_reusable.yml
发布镜像可复用工作流(主发布流程)和 PD Store Server 可复用工作流(integration_precheck、publish_amd64、publish_arm64 矩阵构建)的 checkout action 版本从 v4 升级为 v6。
独立工作流中的 checkout 升级
.github/workflows/publish_computer_image.yml.github/workflows/publish_hugegraph_hubble.yml.github/workflows/validate-release.yml
计算机镜像发布工作流和版本验证工作流的 checkout action 从 v4 升级为 v6;Hubble 镜像发布工作流从 v3 升级为 v6。

相关的 PR

  • hugegraph/actions#14:该 PR 引入了可复用发布工作流(如 _publish_image_reusable.yml),本 PR 现在更新了这些工作流中的 checkout action 版本。
  • hugegraph/actions#16:该 PR 引入了 PD Store Server 可复用发布工作流(_publish_pd_store_server_reusable.yml),本 PR 现在对其中的 checkout action 进行版本升级。

建议的标签

enhancement, size:XXL

诗句

🐰 兔兔来整顿,版本六升级,
五个工作流齐步走,
Checkout v4 再见,v6 新功能欢迎,
自动化流程焕新,工程之道愈精妙!


🎯 1 (Trivial) | ⏱️ ~3 分钟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly and concisely summarizes the main change: upgrading GitHub Actions checkout from v3/v4 to v6 across workflow files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cdx-upgrade-checkout-v6

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@imbajin
imbajin merged commit 1e880c7 into master Jun 9, 2026
1 check was pending
@imbajin
imbajin deleted the cdx-upgrade-checkout-v6 branch June 9, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant