Skip to content
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

Preset option with "conventionalcommits" doesn't seem to work #246

Closed
JellyBellyDev opened this issue Jan 5, 2024 · 6 comments · Fixed by #247
Closed

Preset option with "conventionalcommits" doesn't seem to work #246

JellyBellyDev opened this issue Jan 5, 2024 · 6 comments · Fixed by #247

Comments

@JellyBellyDev
Copy link

My config:

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Conventional Changelog Action
        id: changelog
        uses: TriPSs/conventional-changelog-action@v5
        with:
          preset: conventionalcommits
          github-token: ${{ secrets.GITHUB_TOKEN }}
          git-user-name: ${{ github.actor }}
          git-user-email: ${{ github.actor }}@users.noreply.github.com
          tag-prefix: 'v'

and in action log i see:

Error: Error: Unable to load the "conventionalcommits" preset. Please make sure it's installed.

The possible values are not these: https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog/README.md#preset ?

Thanks

@TriPSs
Copy link
Owner

TriPSs commented Jan 5, 2024

When using presets other than angular you need to make sure they are installed.

@JellyBellyDev
Copy link
Author

@TriPSs thanks for the quick reply. Where e how install it? My software is not a node application.
Is possible ti install it in the github actions?

@TriPSs
Copy link
Owner

TriPSs commented Jan 5, 2024

Aah, yea you would need to install it with node, but since this request already came multiple times let me bundle this one with the action.

@JellyBellyDev
Copy link
Author

Ok! Thank you!
I'm waiting for news then! 💪

@TriPSs
Copy link
Owner

TriPSs commented Jan 5, 2024

It's released, versions: v5 and v5.1.0

@JellyBellyDev
Copy link
Author

AWESOME!!! Works!!! ❤️

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 a pull request may close this issue.

2 participants