fix(packages/ui): hide branch tag on default branches#72
Conversation
The branch tag badge was only hidden for `main`. Repos using `master` as their default branch would still show the tag in production. Co-Authored-By: Claude <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: ae707c6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughA changeset entry is added to mark a patch release for the UI package. The corresponding component modification extends the branch tag visibility logic to hide the badge when the repository's default branch is either 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Summary
master(in addition tomain)Changes
branch-tag.tsx: addedmasterto the default branch checkTesting
pnpm typecheckpasses (packages/ui)