chore: add reopen-issue-if-prs-open workflow#20
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 new GitHub workflow that automatically reopens issues when they are closed while linked PRs are still open. The workflow follows the established delegation pattern used elsewhere in the project (similar to Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant GitHub as GitHub Issues
participant Workflow as reopen-issue-if-prs-open.yml
participant Central as RequestNetwork/.github<br/>(reopen-issue-if-prs-open.yml)
participant API as GitHub API
GitHub->>Workflow: Issue closed event
Workflow->>Central: Call reusable workflow<br/>with REOPEN_ISSUES_TOKEN
Central->>API: Query issue PRs
API-->>Central: PR data (open/closed status)
Central->>Central: Check if any linked PRs<br/>are still open
alt PRs Still Open
Central->>API: Reopen issue
API-->>Central: Issue reopened
else All PRs Closed
Central-->>Central: No action needed
end
Central-->>Workflow: Workflow complete
Workflow-->>GitHub: Update status
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131