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

[FEATURE] disable certain default commit types #386

Closed
cococonscious opened this issue Apr 25, 2024 · 4 comments · Fixed by #387
Closed

[FEATURE] disable certain default commit types #386

cococonscious opened this issue Apr 25, 2024 · 4 comments · Fixed by #387
Assignees
Labels
enhancement New feature or request

Comments

@cococonscious
Copy link

Is your feature request related to a problem? Please describe.

In some of the projects I'm working on, we work with custom commit types, which may not use all the default commit types in cocogitto, specifically the angular commit types. Currently, these default commit types cannot be disabled.

Describe the solution you'd like

I'd like to have the possibility of disabling any of the default commit types (besides fix and feat, as they are part of the Conventional Commits specification) in the configuration file. This could be as simple as:

[commit_types]
build = {}

What has to be kept in mind in the implementation of this is that users may want generated changelogs to include those commit types (of which the title may be custom) from the commit history, but just do not want future commits to be of that type. Perhaps a configuration property like active (boolean) would be fitting.

@eshepelyuk
Copy link

eshepelyuk commented May 14, 2024

Very useful addition. In mu workflows the only meaningful types are

  • feat
  • fix
  • chore

So disabling the others would be proricient.

@oknozor
Copy link
Collaborator

oknozor commented May 14, 2024

Hey @cococonscious @eshepelyuk, thanks for the suggestion. This will be available in the next release.

@eshepelyuk
Copy link

eshepelyuk commented May 14, 2024

Hey @cococonscious @eshepelyuk, thanks for the suggestion. This will be available in the next release.

Hello @oknozor
Any certain plans about next release date ?

@oknozor
Copy link
Collaborator

oknozor commented May 14, 2024

I want to automate the release of cocogitto-action and cocogitto-bot along with cocogitto. Once this is done we should be ready for the next release. I don't have a lot of free time though, so I cannot give an exact date. But this should be soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants