fix(ci): switch release job from WOLFSTAR_TOKEN to GITHUB_TOKEN#53
fix(ci): switch release job from WOLFSTAR_TOKEN to GITHUB_TOKEN#53RedStar071 wants to merge 1 commit into
Conversation
|
|
Warning Review limit reached
More reviews will be available in 8 minutes and 20 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 review availability. 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, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
=======================================
Coverage 49.54% 49.54%
=======================================
Files 49 49
Lines 870 870
Branches 200 200
=======================================
Hits 431 431
Misses 435 435
Partials 4 4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Root cause
The
Create Release PR or Publishjob fails atactions/checkoutwith:The
WOLFSTAR_TOKENsecret exists in the repo but the token it holds is expired/revoked/invalid. Thesnapshot_filterjob (which uses the implicitGITHUB_TOKEN) passes cleanly, confirming the token itself is the problem.Fix
token: ${{ secrets.WOLFSTAR_TOKEN }}from the release job's checkout step — it now uses the auto-provisionedGITHUB_TOKEN, which already hascontents: writeandpull-requests: writefrom the job-level permissions.GITHUB_TOKEN: ${{ secrets.WOLFSTAR_TOKEN }}inchangesets/actiontoGITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}for the same reason.GITHUB_TOKEN: ${{ github.token }}in the snapshot job (no functional change, just consistent style).The
changesets/actionembeds the token in the remote URL when it pushes version commits, so no additional git credential setup is needed beyond what the job-levelGITHUB_TOKENprovides.Test plan
Create Release PR or Publishjob completes without the auth error🤖 Generated with Claude Code