Skip to content

Feaure:Create a new github workflow for auto changelog generation. #30

@utkarsh232005

Description

@utkarsh232005

Feature Request: Automatic Changelog Generation on Every Release

Overview

Implement an automated changelog generation workflow that triggers whenever a new version of the project is released.

The workflow should support all release types including:

  • Patch releases (x.x.PATCH)
  • Minor releases (x.MINOR.x)
  • Major releases (MAJOR.x.x)

Whenever a new release/version is published, the system should automatically trigger an autoChangeLog workflow responsible for generating the changelog for that released version.


Expected Behavior

Trigger Conditions

The workflow should automatically execute when:

  • A new GitHub release is created
  • A new version tag is pushed
  • A version bump occurs

Supported examples:

v1.0.1
v1.1.0
v2.0.0

Workflow Responsibilities

The autoChangeLog workflow should:

  • Detect the latest released version
  • Compare changes with the previous release
  • Collect commits automatically
  • Categorize changes properly:
    • Features
    • Bug Fixes
    • Improvements
    • Refactoring
    • Documentation
  • Generate a clean markdown changelog
  • Automatically update CHANGELOG.md
  • Generate release notes for the current version
  • Optionally commit the updated changelog back to the repository
  • Support semantic versioning

Suggested Changelog Format

# Changelog

## v2.1.0

### Features
- Added Kubernetes cluster monitoring

### Fixes
- Fixed Docker container crash issue

### Improvements
- Improved CLI performance

Suggested Implementation

Possible tools/services:

  • GitHub Actions
  • Conventional Commits
  • semantic-release
  • auto-changelog
  • release-please

Additional Notes

The workflow should integrate seamlessly with the existing release/versioning system and automatically handle all future releases without requiring manual intervention.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions