chore: add reopen-issue-if-prs-open workflow#11
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 having linked pull requests still open.
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Issue as GitHub Issue
participant Workflow as Reopen Issue Workflow
participant ReusableWorkflow as RequestNetwork/.github Reusable Workflow
participant Token as REOPEN_ISSUES_TOKEN
participant PR as Linked Pull Requests
User->>Issue: Close Issue
Issue->>Workflow: Trigger 'issues: closed' event
Workflow->>Token: Request authentication token
Token-->>Workflow: Provide token
Workflow->>ReusableWorkflow: Call reusable workflow with token
ReusableWorkflow->>PR: Check for linked open PRs
alt Open PRs exist
PR-->>ReusableWorkflow: Found open PRs
ReusableWorkflow->>Issue: Reopen issue
Issue-->>User: Issue reopened
else No open PRs
PR-->>ReusableWorkflow: No open PRs
ReusableWorkflow-->>Issue: Keep closed
end
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131