We welcome contributions to the PR Pilot Review project! Whether you're fixing bugs, improving documentation, or proposing new features, your help is appreciated.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/your-username/prpilot-review.git cd prpilot-review - Add the upstream remote:
git remote add upstream https://github.com/bishalprasad321/prpilot-review.git
Please refer to the Development Guide for detailed instructions on setting up your local environment, available scripts, and testing procedures.
- Ensure your local
mainbranch is up to date with theupstreamrepository. - Create a feature branch:
git checkout -b feature/your-feature-name
- Make your changes. Keep your commits focused and provide clear, descriptive commit messages.
- Test thoroughly. Run the full suite of checks to ensure your changes meet the project's quality standards:
npm run all
- Build the distributable. The GitHub Action consumes the compiled bundle in the
dist/directory. You must rebuild it before committing:npm run build git add dist/
- Commit your changes:
git commit -m "Brief description of the changes" - Push to your fork:
git push origin feature/your-feature-name
- Open a Pull Request against the
mainordevelopbranch of the upstream repository. - Describe your changes clearly in the PR description. Detail what was changed, why it was changed, and any related issue numbers.
- Ensure all CI status checks pass. If tests fail, investigate and fix the underlying issues.
- Be prepared to discuss your code and address review feedback.
- TypeScript: The project is written in TypeScript. Ensure all new code is strongly typed and passes the
npm run typecheckvalidation. - Formatting: We use Prettier for consistent code formatting. Run
npm run formatbefore committing. - Linting: We use ESLint to catch potential errors and enforce code style. Address any warnings or errors reported by
npm run lint. - Testing: Include tests for new features and bug fixes. Existing tests must not be broken by your changes.
Thank you for contributing!