Skip to content

chore(workflows): update GitHub Actions to use latest action versions#141

Merged
yyg-max merged 1 commit intolinux-do:masterfrom
zfb132:master
Dec 20, 2025
Merged

chore(workflows): update GitHub Actions to use latest action versions#141
yyg-max merged 1 commit intolinux-do:masterfrom
zfb132:master

Conversation

@zfb132
Copy link
Contributor

@zfb132 zfb132 commented Dec 18, 2025

例行检查

  • 我已阅读并理解 贡献者公约
  • 我已阅读并同意 贡献者许可协议 (CLA),确认我的贡献将根据项目的 MIT 许可证进行许可,
  • 我知晓如果此 PR 并不做出实质性更改,或可被认为是为了PR被合并而提交PR的,则可能不会被合并,

变更内容

  • README.md添加技术栈的链接(与frontend/README.md保持风格一致);添加star history
  • 替换config.example.yaml的两处中文注释为英文,保证整个文件注释全部统一为英文
  • Dockerfile添加TZ构建参数,在不影响当前功能的前提下增加更多接入可能
  • 升级actions的版本为最新版(经测试无bug,详见 zfb132/cdk/actions

Copilot AI review requested due to automatic review settings December 18, 2025 03:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

此 PR 主要更新 GitHub Actions 工作流文件中使用的 action 版本,同时对配置文件、README 和 Dockerfile 进行了小幅改进。主要目的是保持项目依赖的最新状态并增强文档质量。

主要变更:

  • 将多个 GitHub Actions 升级到最新版本(v6/v8/v10/v4)
  • 统一配置文件注释语言为英文,保持一致性
  • 为 README 技术栈添加超链接并增加 Star History 图表
  • Dockerfile 增加 TZ 时区构建参数以提高灵活性

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/pr-template-check.yml 升级 actions/github-script 从 v7 到 v8
.github/workflows/eslint.yml 升级 actions/checkout 和 actions/setup-node 到 v6
.github/workflows/copilot-setup-steps.yml 升级 actions/checkout、actions/setup-node 和 actions/setup-go 到最新版本
.github/workflows/codeql.yml 升级 actions/checkout 到 v6 和 github/codeql-action 到 v4
.github/workflows/close_ticket.yml 升级 actions/stale 从 v9 到 v10
.github/workflows/check_license.yml 升级 actions/checkout 到 v6
.github/workflows/build_image.yml 升级 actions/checkout 到 v6 和 docker/build-push-action 到 v6
.github/workflows/build_frontend.yml 升级 actions/checkout 和 actions/setup-node 到 v6
.github/workflows/build_backend.yml 升级 actions/checkout 到 v6 和 actions/setup-go 到 v6
config.example.yaml 将中文注释替换为英文,保持整个文件注释语言统一
README.md 为技术栈项目添加超链接,增加 Star History 图表展示
Dockerfile 添加 TZ 构建参数以支持自定义时区配置

@yyg-max
Copy link
Collaborator

yyg-max commented Dec 19, 2025

workflows 版本太新了容易踩坑不建议升级

@zfb132
Copy link
Contributor Author

zfb132 commented Dec 19, 2025

这些是官方维护的基础actions,功能不是非常复杂,而且可靠性也还是值得信任的,CI也能够全部通过
目前我自己开发的一些仓库使用的是最新版,暂未遇到bug。若有顾虑也可关闭,将来有需要再reopen

@yyg-max
Copy link
Collaborator

yyg-max commented Dec 19, 2025

workflows 两周前发布的大版本目前不需要(稳定为主),其他文件的改动可以合并

@zfb132
Copy link
Contributor Author

zfb132 commented Dec 19, 2025

已修改

Copy link
Collaborator

@yyg-max yyg-max left a comment

Choose a reason for hiding this comment

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

LGTM

@yyg-max yyg-max merged commit aeab872 into linux-do:master Dec 20, 2025
9 checks passed
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.

2 participants

Comments