chore: add reopen-issue-if-prs-open workflow#137
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 reopens issues when they are closed while having open linked pull requests. Key Changes:
Implementation Notes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant GitHub
participant Workflow as Reopen Workflow
participant ReusableWorkflow as RequestNetwork/.github Workflow
participant IssueAPI as GitHub Issues API
User->>GitHub: Close issue with linked PRs
GitHub->>Workflow: Trigger on issues.closed event
Workflow->>ReusableWorkflow: Call reusable workflow
Note over Workflow,ReusableWorkflow: Pass REOPEN_ISSUES_TOKEN
ReusableWorkflow->>IssueAPI: Check linked PRs
alt Has open PRs
ReusableWorkflow->>IssueAPI: Reopen issue
IssueAPI->>GitHub: Issue reopened
else No open PRs
ReusableWorkflow->>ReusableWorkflow: Do nothing
end
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131