-
-
Notifications
You must be signed in to change notification settings - Fork 1
ci: add major/minor release heading in GitHub release notes #30
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
Conversation
- Updated release notes extraction to prepend heading based on release type - 🚀 Major Release - ✨ Minor Release - Ensures GitHub release body includes contextual heading + changelog content
Caution Review failedThe pull request is closed. WalkthroughThe GitHub Actions workflow .github/workflows/tag-after-merge.yml was updated to both tag and create a GitHub Release after merges. It adds write permissions, renames the job, updates messages, extracts release notes from CHANGELOG for major/minor releases, and publishes a release using softprops/action-gh-release. Changes
Sequence Diagram(s)sequenceDiagram
actor Dev as Developer
participant GH as GitHub
participant WF as Workflow: tag-and-release
participant Repo as Repo/CHANGELOG
participant GHRel as GitHub Releases
Dev->>GH: Merge to default branch
GH->>WF: Trigger workflow
WF->>Repo: Checkout
WF->>Repo: Get last tag / compute next version
alt Patch release
WF-->>GH: Log "no tag or release"
WF-->>WF: Exit job
else Major/Minor release
WF->>Repo: Create tag v<version>
WF->>Repo: Extract release notes (CHANGELOG section)
WF->>WF: Build notes env (header + contents)
WF->>GHRel: Create Release for v<version> (softprops/action-gh-release)
GHRel-->>WF: Release published
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit