chore: add reopen-issue-if-prs-open workflow#6
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
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 Actions workflow that automatically reopens closed issues when they have linked open pull requests. The workflow listens for issue close events and delegates to a reusable workflow maintained in the RequestNetwork organization's Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User as GitHub User
participant Issue as Issue Event
participant Workflow as reopen-issue-if-prs-open
participant ReusableWF as RequestNetwork/.github<br/>Reusable Workflow
participant GitHub as GitHub API
User->>Issue: Closes issue
Issue->>Workflow: Trigger (issues.closed event)
Workflow->>ReusableWF: Call reusable workflow with token
ReusableWF->>GitHub: Query linked PRs for issue
alt PRs are open
ReusableWF->>GitHub: Reopen issue
GitHub-->>ReusableWF: Issue reopened
else All PRs are closed
ReusableWF-->>GitHub: No action taken
end
ReusableWF-->>Workflow: Complete
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131