Skip to content

ci(github-action): use commitizen github action #252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Aug 30, 2020

Description

Use commtizen-action for bump version

Checklist

  • Add test cases to all the changes you introduce
  • Run ./script/format and ./script/test 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

Auto bump version after pull request is merged.

Steps to Test This Pull Request

  1. Merge pull request

Additional context

@Lee-W Lee-W requested a review from woile August 30, 2020 08:16
@codecov
Copy link

codecov bot commented Aug 30, 2020

Codecov Report

Merging #252 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #252      +/-   ##
==========================================
+ Coverage   96.58%   96.60%   +0.01%     
==========================================
  Files          33       33              
  Lines         908      912       +4     
==========================================
+ Hits          877      881       +4     
  Misses         31       31              
Flag Coverage Δ
#unittests 96.60% <100.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
commitizen/commands/bump.py 90.58% <ø> (ø)
commitizen/git.py 95.55% <ø> (+0.04%) ⬆️
commitizen/__version__.py 100.00% <100.00%> (ø)
commitizen/commands/check.py 100.00% <100.00%> (ø)
commitizen/cz/base.py 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 750213c...7ec5c1f. Read the comment docs.

with:
fetch-depth: 0
- name: Create bump and changelog
uses: Woile/commitizen-action@master
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The repo should be commitizen-tools I think

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just update it. Thanks! I also update the documentation on commitizen-action

@Lee-W Lee-W force-pushed the use-commitizen-github-action branch from bac4d1e to 7ec5c1f Compare August 31, 2020 00:12
@woile woile merged commit f27baba into master Aug 31, 2020
@woile woile deleted the use-commitizen-github-action branch August 31, 2020 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants