chore: add reopen-issue-if-prs-open workflow - #119
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 SummaryAdds a GitHub Actions workflow that automatically reopens issues when they are closed while linked pull requests are still open, preventing premature issue closure.
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant GitHub
participant Workflow as Reopen Issue Workflow
participant ReusableWorkflow as RequestNetwork/.github Workflow
participant Issue
User->>Issue: Close issue
Issue->>GitHub: Trigger 'closed' event
GitHub->>Workflow: Execute on issues:closed
Workflow->>ReusableWorkflow: Call reusable workflow with REOPEN_ISSUES_TOKEN
ReusableWorkflow->>GitHub: Check for linked PRs
alt PRs are still open
ReusableWorkflow->>Issue: Reopen issue
ReusableWorkflow->>Issue: Add comment explaining reopening
else No open PRs
ReusableWorkflow->>ReusableWorkflow: No action needed
end
ReusableWorkflow-->>Workflow: Complete
Workflow-->>GitHub: Workflow complete
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131