jaysomani / firstspot

FirstSpot an heven for travellers who love to travel all around the world
https://jaysomani.github.io/firstspot/
17 stars 61 forks source link

feat: add pr title checker workflow #147

Closed harmeetsingh11 closed 8 months ago

harmeetsingh11 commented 9 months ago

Issue:

This PR resolves issue #137

Description:

This pull request addresses the need for a PR title checker to ensure conformity to conventional commit prefixes. The specified prefixes include 'build', 'chore', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', and 'test'. Consistent PR titles are essential for maintaining clarity and organization in the project's version history.

Files added

Solution:

  1. Developed a PR title checker script to validate titles against the defined prefixes.
  2. Integrated the checker into the project's CI/CD pipeline for automatic validation.
  3. Defined clear error messages for non-compliant PR titles, aiding contributors in adhering to guidelines.

To-Do:

This PR enhances the project's contribution guidelines by automating the validation of PR titles, ensuring adherence to conventional commit prefixes. Contributions and feedback are encouraged for continuous improvement.

@jaysomani please review this PR. Thanks