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

chore: add commit lint in workflow #87

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Conversation

Zhaoyilunnn
Copy link
Collaborator

@Zhaoyilunnn Zhaoyilunnn commented Sep 17, 2023

Suggest to follow this conventional commits specification to format commit messages, which makes our development history more traceable and easier to understand.

Used this github action: https://github.com/wagoid/commitlint-github-action/tree/master

This forced commit message to follow a "type: message" format, where "type" must be one of [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test] (the type keywords are also configurable)

For example, in this PR, one of my previous commit message is "minor: xxxx" and caused failure of the commitlint action

@chensgit169 chensgit169 merged commit fe22685 into ScQ-Cloud:master Sep 21, 2023
32 of 33 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