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: commmit message check #7

Merged
merged 3 commits into from
Jan 14, 2025
Merged

chore: commmit message check #7

merged 3 commits into from
Jan 14, 2025

Conversation

luohoufu
Copy link
Contributor

What does this PR do

commmit message check

Rationale for this change

This pull request introduces a new GitHub Actions workflow to ensure that commit messages follow a specific format. The workflow checks the commit messages for predefined types and patterns to maintain consistency and clarity in the commit history.

Key changes include:

  • .github/workflows/commit-message-check.yml: Added a new workflow named commit-message-check that runs on pull requests. It uses the gsactions/commit-message-checker action to validate commit messages against a specified pattern. This ensures that commit messages include a valid type prefix such as feat:, fix:, docs:, etc.

Standards checklist

  • The PR title is descriptive
  • The commit messages are semantic
  • Necessary tests are added
  • Updated the release notes
  • Necessary documents have been added if this is a new feature
  • Performance tests checked, no obvious performance degradation

@medcl medcl merged commit 6f44257 into main Jan 14, 2025
4 checks passed
@medcl medcl deleted the commit_message_check branch January 14, 2025 08:29
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