shelcia / mocker

Mocker can generate mock data with API endpoints, powered by faker.js
https://mocker-gen.netlify.app/
GNU General Public License v3.0
17 stars 29 forks source link

Feature/pr title checker workflow/issue 139 #143

Closed harmeetsingh11 closed 9 months ago

harmeetsingh11 commented 9 months ago

Issue:

This PR resolves issue #139

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.

@shelcia please review this PR. Thanks

vercel[bot] commented 9 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @shelcia on Vercel.

@shelcia first needs to authorize it.

netlify[bot] commented 9 months ago

Deploy Preview for mocker-gen canceled.

Name Link
Latest commit bed8d40380dfdbf4fbd7ec77438f2e5f58e25281
Latest deploy log https://app.netlify.com/sites/mocker-gen/deploys/65b141971d6ed30008d34cf2
vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mocker ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 25, 2024 4:35am
mocker-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 25, 2024 4:35am
mocker-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 25, 2024 4:35am