Skip to content

Conversation

@dhilgaertner
Copy link
Collaborator

Summary

  • Adds a new release-notes mode that automatically generates release notes on push events
  • Includes workflow configuration for CI/CD integration
  • Extends the existing mode system with full test coverage

Changes

New Mode Implementation

  • Release Notes Mode (src/modes/release-notes/): Generates release notes from commit history on push events
  • Triggers on push to configurable target branch (defaults to main)
  • Supports custom instructions and prompt overrides

GitHub Actions Integration

  • New workflow file (.github/workflows/release-notes.yml) for automated release note generation
  • Configurable via action inputs with support for custom branches

Core Updates

  • Extended mode registry to include release-notes mode
  • Added isPushEvent helper to GitHub context utilities
  • Updated trigger validation to support push events
  • Added comprehensive test coverage for new functionality

Test Plan

  • Unit tests for release-notes mode (test/modes/release-notes.test.ts)
  • Context validation tests (test/context.test.ts)
  • Trigger validation tests updated
  • Manual testing with push events
  • Verify workflow triggers correctly on main branch pushes

🤖 Generated with Claude Code

Add a new mode to automatically generate release notes on push events:
- New release-notes mode that triggers on push to main branch
- Workflow configuration for automated release note generation
- Integration with existing mode registry and validation
- Support for custom branch targeting via inputs
- Test coverage for new mode functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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 this pull request may close these issues.

2 participants