Conversation
|
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. 📒 Files selected for processing (1)
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 |
Greptile SummaryThis PR adds a GitHub Actions workflow that automatically manages project board items for the RequestNetwork/integration-demo repository. The workflow triggers when issues are opened or PRs are opened, and delegates the logic to a reusable workflow defined in the RequestNetwork/.github repository. The implementation is straightforward and follows best practices: it uses event-based triggers appropriate for project management automation, delegates complex logic to a shared reusable workflow (promoting code reuse and maintainability), and securely passes the required PROJECT_TOKEN via GitHub secrets. The workflow correctly targets issues (opened), pull requests (opened), and conditionally adds items based on whether PRs have linked issues—avoiding duplication on the project board. Key consideration: The reusable workflow reference uses @main which means any updates to RequestNetwork/.github will automatically apply here. This is beneficial for receiving improvements but could introduce breaking changes if the upstream workflow changes unexpectedly. The repository must have the PROJECT_TOKEN secret configured for this workflow to function. Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User as User/GitHub
participant Event as GitHub Event
participant Workflow as auto-project.yml
participant ReusableWF as RequestNetwork/.github<br/>add-to-project.yml
participant ProjectAPI as GitHub Projects API
User->>Event: Opens Issue or PR
Event->>Workflow: Triggers (issues:opened or pull_request:opened)
Workflow->>ReusableWF: Call reusable workflow with PROJECT_TOKEN
ReusableWF->>ReusableWF: Check if PR has linked issue
alt PR with linked issue
ReusableWF->>ReusableWF: Skip (track linked issue instead)
else PR without linked issue or Issue
ReusableWF->>ProjectAPI: Add to Project Board
ProjectAPI-->>ReusableWF: Item added
end
ReusableWF-->>Workflow: Complete
Workflow-->>Event: Workflow finished
|
Adds workflow to automatically add issues and PRs to the project board.
Uses the reusable workflow from RequestNetwork/.github.
Closes RequestNetwork/public-issues#130