Giter VIP home page Giter VIP logo

changelog-generator's Issues

Feature request: filter conventional commit types

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 ๐Ÿ‘

Any support for alternative repos?

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.

First Release Error

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 }}

Idea: revert commits list (newest to oldest)

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.

Add input to define project path (suggestion)

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

Action Required: Fix Renovate Configuration

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.

Dependency Dashboard

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.

Detected dependencies

github-actions
.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
npm
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

  • Check this box to trigger a request for Renovate to run again on this repository

Suggest some feature

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.

  1. 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.

  2. 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.

  3. 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.

Log display template doesn't remove all unused headers

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.