draft_changelog
Group commits between two Git refs by conventional-commit type to draft a changelog, separating feat, fix, docs, and other non-conventional subjects.
Instructions
Commits in from_ref..to_ref grouped by conventional-commit type (feat, fix, docs, ...), with an 'other' section for subjects that do not follow the convention.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository alias, see the git-insights://repos resource | |
| to_ref | No | Inclusive end: tag, branch or commit | HEAD |
| from_ref | Yes | Exclusive start: tag, branch or commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| to_ref | Yes | ||
| from_ref | Yes | ||
| sections | Yes | Non-empty sections in a fixed order | |
| total_commits | Yes |