Switch to trusted publishing for PyPI#65
Conversation
- Trigger on release published instead of tag push - Use OIDC trusted publishing (id-token: write) instead of API token - Split into build and publish jobs with artifact handoff - Add pypi environment for trusted publisher configuration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ 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 |
Summary
Problem
The deploy workflow used a
PYPI_PASSWORDsecret for authentication, which is being deprecated in favor of trusted publishing.Solution
permissions: id-token: writefor OIDCenvironment: pypito the publish job for trusted publisher configurationpasswordsecret reference fromgh-action-pypi-publish🤖 Generated with Claude Code