jaywcjlove / changelog-generator Goto Github PK
View Code? Open in Web Editor NEWA GitHub Action that compares the commit differences between two branches
Home Page: https://jaywcjlove.github.io/changelog-generator/
License: MIT License
A GitHub Action that compares the commit differences between two branches
Home Page: https://jaywcjlove.github.io/changelog-generator/
License: MIT License
First, Thank You for this simple and easy to use tool! ๐
When using a changelog template you get something like this:
### Feature
- feat: my feature
when the conventional commit types are known, and when the template is used, it would be nice to be able to filter away the redundant types from the beginning of the commit message. Ie:
### Feature
- my feature
### Unkown
- notconventional: other commit
Latter is much more readable and human-friendly -- would be nice to be able to do this ๐
Wrong title.
Is their possibly a way to support fetching info from another repo? Rather than the one the action is running on? I have a private repo which has the same content as the public one, and I'd like to be able to pull that data in the private repo.
Didn't see any options for this.
When add this action to a repo that has no releases yet, it throws an error.
Maybe it should just generate and empty changelog? Or a message "First release".
I am using this as a workaround to conditionally run the step only if previous tags exist via if: env.previous_tag
:
- name: previous tag
run: |
# set previous_tag to the last tag in the repo
# or if the command throws an error, set it to nothing
previous_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "previous_tag=$previous_tag" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
if: env.previous_tag
uses: jaywcjlove/changelog-generator@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
Hey,
as usual, great project (works out of the box, not like the others I tried before recalling that I saw some cool actions in react-md-editor
).
Here is 1 idea that I would find useful:
Revert commits list: Right now commits are sorted by date (oldest to newest), add input option to generate newest to oldest.
I am not the type of person that really likes the idea of having emojis in my release note. Is it possible to implement a param in the config file to remove the emojis, just texts?
To enable the use in monorepo projects, I would like to be able to create different changelogs based on project path commits
Suggestion:
- name: Generate changelog
id: changelog
uses: jaywcjlove/changelog-generator@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: ./apps/my-aplication
continue-on-error: true
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/changelog.yml
actions/checkout v4
actions/setup-node v4
peaceiris/actions-gh-pages v4
ncipollo/release-action v1
.github/workflows/path.yml
actions/checkout v4
actions/setup-node v4
package.json
@actions/core ~1.10.0
@actions/github ^6.0.0
@kkt/ncc 1.1.1
lint-staged ^15.2.2
husky ^9.0.11
node >=v20.11.0
npm >=10.2.4
Hi, thank for great work, I highly appreciate the convenience provided by this tool and I would like to contribute some ideas to further enhance its functionality.
Currently, the changelog is listed from top to bottom in chronological order, starting from the oldest to the newest. I want to categorize them into separate types. For example, feat will be listed under #Feature, fix will be under #Bugs, and so on for other types.
Sometimes, there are commits that I don't want to appear in the changelog, so I have used the following filter:
^(?!type\b|feat\b|style\b|chore\b|doc\b|docs\b|build\b|fix\b|test\b|refactor\b|website\b|revert\ b|clean\b|perf\b|ci\b).*
Therefore, I think there should be an option to allow users to create a custom type and include or exclude it from the changelog.
Some my projects are developed solely by me, there should also be an option to hide the author, as all commits are mine. I don't find it necessary to display @author on every entry in the changelog.
When using the following template with one commit fix: some weird bug
## Bugs
{{fix}}
## Feature
{{feat}}
## Improve
{{refactor,perf,clean}}
## Misc
{{chore,style,ci||๐ถ Nothing change}}
## Unknown
{{__unknown__}}
The following changelog is generated:
## Bugs
- fix: some weird bug 1234567 @username
## Improve
{{refactor,perf,clean}}
## Misc
๐ถ Nothing change
Instead of:
## Bugs
- fix: some weird bug 1234567 @username
## Misc
๐ถ Nothing change
It seems like the RegEx on this line is not correct.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.