Closed sschuberth closed 1 year ago
deps
is not a valid prefix. Use chore(deps)
instead.
ci
is excluded because build
is. One is simply an alias. Remove build
from the excluded types and it's gonna work.
revert
is not supported right now (not technically part of the spec but is suggested), although it could be added.
First of all, thanks for the quick response. I have some further questions:
deps
is not a valid prefix. Usechore(deps)
instead.
Not valid according to what? This explicitly says "types other than fix:
and feat:
are allowed". So I guess you're referring to the recommendations of the Angular project?
ci
is excluded becausebuild
is. One is simply an alias.
Where's that alias defined? At least the Angular recommendations explicitly list these separately.
Other types are allowed in the spec but realistically there's no way to account for all possible prefixes that could be used when generating a changelog. There's a full name and icon associated to each. How is the action supposed to know deps
should translate to a category named "Dependencies" and the relevant icon?
The aliases are defined here. Angular list them separately but most people use them interchangeably. The minor difference doesn't warrant a separate category IMO. Modifying the build workflow usually involves modifying the ci as well.
How is the action supposed to know
deps
should translate to a category named "Dependencies" and the relevant icon?
Well, via user-provided configuration, I guess...
This is getting a bit too complicated for what is supposed to be a simple action. There's no simple way to request such a complex input from the user. The other solution would involve a custom config file the action would read. This is getting way overkill.
This is getting way overkill.
I see. I guess I'll have to have a look at one of those overkill-solutions then. Thanks anyway for your insights!
deps
is not a valid prefix. Usechore(deps)
instead.
Sorry, follow-up question: With excludeTypes: ""
and includeInvalidCommits: true
, shouldn't deps
commits be included under "Other Changes"? Because it seems to me they aren't.
shouldn't
deps
commits be included under "Other Changes"? Because it seems to me they aren't.
Same for revert
-type commits.
I'm currently trying to figure out why for this project I get this release:
Although i the Git history I have:
In understand that the "WIP" commits are missing because
includeInvalidCommits
isfalse
by default, but why are the "deps", "ci" and "revert" commits missing as well with the default options asexcludeTypes
defaults tobuild,docs,other,style
only?