chore: add reopen-issue-if-prs-open workflow#4
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 pull requests still linked to them. The workflow follows the same pattern as the existing
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 open PRs
alt Has open PRs
API-->>Reusable: Returns open PR list
Reusable->>API: Reopen issue
API-->>Issue: Issue reopened
else No open PRs
API-->>Reusable: No open PRs found
Reusable-->>Issue: Issue remains closed
end
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131