Repository navigation
ci: refine release-plz workflow and enable semver checks - #14
Conversation
|
Warning Review limit reached
More reviews will be available in 36 minutes and 22 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe publish workflow gains an ChangesRelease CI and Config Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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/publish.yml:
- Around line 24-27: Add permission constraints to the create-github-app-token
action calls to scope tokens to least privilege. For the release-pr job's
app-token step (lines 24-27), add permissions for pull-requests write and
contents write. For the publish job's app-token step (lines 55-58), add
permission for contents write only. For the binaries job's app-token step (lines
133-136), add permission for contents read (or write if preferred for
consistency). Each token should inherit only the permissions required for its
respective job by adding the appropriate permission-pull-requests and
permission-contents fields with their required values (read or write) to the
with block of each create-github-app-token action.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 98914e6d-a4e6-4507-a829-9e298a00914a
📒 Files selected for processing (2)
.github/workflows/publish.ymlrelease-plz.toml
c6327d9 to
cfc99a1
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
Bump pinned action SHAs in publish.yml to match the rest of the fg-labs fleet (release-plz/action v0.5.128 -> v0.5.129, create-github-app-token v3.0.0 -> v3.1.1, actions/checkout v6.0.2 -> v6.0.3), guard the release-pr and publish jobs with `github.repository_owner == 'fg-labs'` so release machinery never fires on forks, and enable `semver_check` in release-plz.toml now that the crate has published releases.
cfc99a1 to
8dd1c84
Compare
What
mako already runs release-plz — it lives in the
release-prjob ofpublish.yml("Manage Release PRs and Publish"), not in a standalonerelease-plz.yml. This PR pulls in the "best bits" from the rest of the fg-labs/fulcrumgenomics fleet (fgumi, tricord, redskull) without changing that architecture, which is already the most complete instance of the pattern (it's the only one with the cross-platformbinariesmatrix,backfill-binaries.yml, and apublish-dry-rungate).Changes
publish.ymlto match tricord/redskull:release-plz/actionv0.5.128 → v0.5.129actions/create-github-app-tokenv3.0.0 → v3.1.1actions/checkoutv6.0.2 → v6.0.3if: ${{ github.repository_owner == 'fg-labs' }}on therelease-prandpublishjobs so release machinery never fires on a fork. Thebinariesjob is covered transitively vianeeds: publish.semver_checkinrelease-plz.toml— it was disabled "until after the first release", and the crate is now past v0.1.2.Notes
A redskull-style standalone
release-plz.ymlwas intentionally not added — it would duplicate the existingrelease-prjob and cause double release PRs.The
check.ymlandbackfill-binaries.ymlworkflows still pinactions/checkout@v6.0.2; left out of scope here to keep the PR focused on release machinery. Happy to align them in a follow-up.Summary by CodeRabbit