Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提交代码规范和自动检查 #92

Merged
merged 7 commits into from
Jan 26, 2025
Merged

Conversation

huzhengen
Copy link
Contributor

@huzhengen huzhengen commented Jan 20, 2025

在提交代码时增加校验

  • 使用 git commit 时需要按照规范填写信息

  • 运行 npm run commit 会启动交互式提交向导

GitHub Actions 在提交 PR 时校验 commit message

Copy link

vercel bot commented Jan 20, 2025

@huzhengen is attempting to deploy a commit to the OpenBuild Team on Vercel.

A member of the Team first needs to authorize it.

@huzhengen huzhengen closed this Jan 20, 2025
@huzhengen huzhengen reopened this Jan 20, 2025
@huzhengen huzhengen changed the title feat: add commitlint configuration and husky hooks 提交代码规范和自动检查 Jan 20, 2025
@ourai ourai self-requested a review January 21, 2025 02:07
@ourai ourai self-assigned this Jan 21, 2025
@ourai ourai added this to the 2025W04 milestone Jan 21, 2025
@ourai ourai linked an issue Jan 21, 2025 that may be closed by this pull request
2 tasks
package.json Outdated
@@ -124,6 +132,7 @@
"@types/sha256": "^0.2.0",
"astro": "4.16.7",
"autoprefixer": "^10.4.12",
"commitizen": "4.3.1",
Copy link
Member

Choose a reason for hiding this comment

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

这几个新增的依赖应该是 devDependencies

Copy link
Contributor Author

Choose a reason for hiding this comment

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

这几个依赖是加在 devDependencies 的,没加在 dependencies 里。

@ourai ourai added the enhancement New feature or request label Jan 24, 2025
@ourai ourai merged commit f3ec122 into openbuildxyz:test Jan 26, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

代码提交规范与自动化检查
2 participants