feat: make Knip and Jest workflows reusable (Fixes #13)#69
feat: make Knip and Jest workflows reusable (Fixes #13)#69mesiyoq965-sudo wants to merge 1 commit into
Conversation
- Created _knip.yml and _jest.yml as reusable workflows - Updated knip.yml and jest-testing.yml to use workflow_call - Resolves issue ubiquity-os#13: enables cross-repo workflow reuse This allows other repositories to call these workflows using: jobs: call-knip: uses: ubiquity-os/plugin-template/.github/workflows/_knip.yml@v1.0.0
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ 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. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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. Review rate limit: 0/1 reviews remaining, refill in 27 minutes and 9 seconds.Comment |
Summary
This PR resolves Issue #13 by converting the Knip and Jest workflows into reusable workflows that can be called from other repositories.
Changes
Created reusable workflows:
.github/workflows/_knip.yml- Reusable Knip workflow.github/workflows/_jest.yml- Reusable Jest workflowUpdated existing workflows:
knip.yml- Now usesworkflow_callto delegate to_knip.ymljest-testing.yml- Now usesworkflow_callto delegate to_jest.ymlHow to Use
Other repositories can now call these workflows:
Benefits
@v1.0.0) for stable versioningTesting
Issue Reference
Fixes #13