commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

Add check against main branch hook

Open Lee-W opened this issue 8 months ago • 1 comments

Description

Checklist

  • [ ] Add test cases to all the changes you introduce
  • [ ] Run poetry all locally to ensure this change passes linter check and test
  • [ ] Test the changes on the local machine manually
  • [ ] Update the documentation for the changes

Expected behavior

Steps to Test This Pull Request

Additional context

Lee-W avatar May 06 '25 02:05 Lee-W

Codecov Report

:x: Patch coverage is 66.66667% with 4 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 97.40%. Comparing base (120d514) to head (5fafc37). :warning: Report is 757 commits behind head on master.

Files with missing lines Patch % Lines
commitizen/git.py 20.00% 4 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1400      +/-   ##
==========================================
+ Coverage   97.33%   97.40%   +0.06%     
==========================================
  Files          42       57      +15     
  Lines        2104     2661     +557     
==========================================
+ Hits         2048     2592     +544     
- Misses         56       69      +13     
Flag Coverage Δ
unittests 97.40% <66.66%> (+0.06%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar May 06 '25 02:05 codecov[bot]

close in favor of https://github.com/commitizen-tools/commitizen/pull/1519

Lee-W avatar Aug 17 '25 04:08 Lee-W