Ways to Contribute
There are several ways you can contribute to CommentSense:- Report bugs: Find an issue and describe the problem you encountered
- Fix bugs: Submit a pull request with a proposed fix
- Request features: Suggest a new feature or improvement
- Improve documentation: Submit a pull request with improved documentation
Submitting a Pull Request
Make your changes
Implement your changes and write tests if applicable. Ensure all existing tests pass.
Commit and push
Commit your changes following the Pull Request Title Convention and push to your fork.
Pull Request Title Convention
To maintain a clean and automated changelog, this project requires pull request titles to follow the Conventional Commits specification.
<type>: <description>
Common Types
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, etc.)refactor: A code change that neither fixes a bug nor adds a featuretest: Adding missing tests or correcting existing testschore: Changes to the build process or auxiliary tools and libraries such as documentation generation
Examples
Development Workflow
Before submitting your pull request:- Run all tests to ensure your changes don’t break existing functionality
- Write new tests for any new features or bug fixes
- Run benchmarks if you modified code in
src/CommentSense.Analyzers/Logic - Update documentation if you changed user-facing behavior or configuration options
Ensure all tests pass before submitting a pull request. The CI pipeline will automatically run tests on all pull requests.
Release Process
This project uses MinVer for versioning. Versions are automatically determined by Git tags in the formatvMAJOR.MINOR.PATCH.
To create a new release, use the GitHub UI to create a new “Release”, which will automatically create the required Git tag and trigger the deployment workflow.
Only maintainers can create releases. Contributors should focus on submitting pull requests.