CI: Add GitHub Action for PR formatter#234
Conversation
📝 WalkthroughWalkthroughA new GitHub Actions workflow ( ChangesPR Auto-formatter Workflow
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/pr-formatter.yml:
- Around line 42-46: Update the default checklist text in the PR formatter
template so the fallback checklist reads naturally when the original body has no
items. In the workflow template that generates formatted PR descriptions,
replace the two default unchecked checklist entries with clearer, grammatically
correct wording, and keep the existing behavior of copying any original
checklist items exactly when they are present.
- Around line 34-35: Update the issue-linking text in the pr-formatter workflow
so it preserves the original keyword instead of always forcing “Closes”; in the
workflow/template logic around the issue placeholder, ensure the generated text
keeps values like “Related to” or “Refs” exactly as provided, and only uses
“Closes” when that was the intended original keyword.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 80ba9a72-66a1-40f0-90b9-f77265ff6a84
📒 Files selected for processing (1)
.github/workflows/pr-formatter.yml
|
🎉 This PR is included in version 0.3.0-main.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Issue
Closes #235
Summary
Checklist
Before submitting a pull request, please ensure that you mark these task.
npm run devandnpm run buildin the repository root and test.