chore: add reopen-issue-if-prs-open workflow#7
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 SummaryAdds GitHub Actions workflow that automatically reopens issues when they are closed while linked PRs remain open. The workflow follows the repository's established pattern of using reusable workflows from Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Issue as GitHub Issue
participant Workflow as reopen-issue-if-prs-open.yml
participant Reusable as RequestNetwork/.github Reusable Workflow
participant API as GitHub API
User->>Issue: Close Issue
Issue->>Workflow: Trigger (issues.closed event)
Workflow->>Reusable: Call reusable workflow
Note over Workflow,Reusable: Pass REOPEN_ISSUES_TOKEN secret
Reusable->>API: Check for linked PRs
alt PRs are still open
API-->>Reusable: Return open PRs
Reusable->>API: Reopen issue
API-->>Issue: Issue reopened
else No open PRs
API-->>Reusable: No open PRs
Note over Reusable: Issue remains closed
end
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131