-
Notifications
You must be signed in to change notification settings - Fork 0
ci: lint PR title instead of commits #989
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refactors the commitlint workflow to validate PR titles instead of individual commit messages, aligning with the repository's squash-merge strategy where PR titles become the final commit messages on the main branch.
- Removes unused npm scripts for commit linting
- Updates CI workflow to lint PR titles on the
editedevent - Updates documentation to clarify that PR titles must follow conventional commits
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Removed now-unused commitlint npm scripts |
| CONTRIBUTING.md | Clarified that PR titles must follow conventional commits format |
| .github/workflows/commitlint.yml | Changed workflow to lint PR titles instead of commits and added edited trigger |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Screenshot
PR Checklist
- [ ] The implemented feature is covered by an appropriate test.