BobAnkh / auto-generate-changelog

A Github Action to generate CHANGELOG automatically according to conventional commits. Feel free to contribute!
Apache License 2.0
81 stars 22 forks source link

feature(mode): add mode choice and more log #21

Closed nagi2330 closed 3 years ago

nagi2330 commented 3 years ago

Description

Now we can use cmd to debug this program locally. By input arg likes -m local -f <filename>, the program can read from local file and fetch information from remote repo. A file called test_result.md will be generated locally, which writes all the changelog and no change to remote repo will be made. In addition, when the program runs, more detailed information about which step is finished will be printed for debugging. All work makes it easier for developer to debug locally and there is no change when the program runs on github.

Closes: #19

How Has This Been Tested

The local mode has been tested on my own PC and it works quite well. The github mode has been tested on my own repo. There is no error detected.

Types of changes

Checklist

Other information

boring-cyborg[bot] commented 3 years ago

Thanks for your first pull request!

gitmagic-app[bot] commented 3 years ago

@nagi2330 - Your pull request does not follow our contribution guidelines. Please review the following issues and update.

<header> of commit message must use proper <type> or <scope>. <header> of commit message needs to be between 5 and 50 characters long Each line in <body> of commit message needs to be between 5 and 72 characters long

If you have any questions, please refer to our Contributing Guidelines or ask us here.

Thanks

mergify[bot] commented 3 years ago

Thanks for opening this pull request! Please check out the Contributing Guidelines.

mergify[bot] commented 3 years ago

@nagi2330 Contribution Message Convention Tests failed with GitMagic. Please check details and Contributing Guidelines for more information.

gitmagic-app[bot] commented 3 years ago

@mergify[bot] - Your pull request does not follow our contribution guidelines. Please review the following issues and update.

<header> of commit message must use proper <type> or <scope>. <header> of commit message needs to be between 5 and 50 characters long Each line in <body> of commit message needs to be between 5 and 72 characters long

If you have any questions, please refer to our Contributing Guidelines or ask us here.

Thanks

codecov[bot] commented 3 years ago

Codecov Report

Merging #21 into master will decrease coverage by 2.70%. The diff coverage is 9.09%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage   24.32%   21.62%   -2.71%     
==========================================
  Files           2        2              
  Lines         148      185      +37     
==========================================
+ Hits           36       40       +4     
- Misses        112      145      +33     
Impacted Files Coverage Δ
main.py 15.69% <9.09%> (-1.34%) :arrow_down:

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 a5fd239...93c70a8. Read the comment docs.

gitmagic-app[bot] commented 3 years ago

@nagi2330 - Your pull request does not follow our contribution guidelines. Please review the following issues and update.

<header> of commit message must use proper <type> or <scope>.

If you have any questions, please refer to our Contributing Guidelines or ask us here.

Thanks

gitmagic-app[bot] commented 3 years ago

@nagi2330 - Your pull request does not follow our contribution guidelines. Please review the following issues and update.

Each line in <body> of commit message needs to be less than 73 characters long

If you have any questions, please refer to our Contributing Guidelines or ask us here.

Thanks

mergify[bot] commented 3 years ago

@nagi2330 There are some conflicts within your pull request. Could you please fix them?

github-actions[bot] commented 3 years ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue or pull request.