chore: add reopen-issue-if-prs-open workflow#22
Conversation
WalkthroughAdds a GitHub Actions workflow that triggers on issue closure and delegates to a centralized reusable workflow, passing the REOPEN_ISSUES_TOKEN secret for automated issue management. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 new GitHub Actions workflow that automatically reopens issues when they are closed while linked pull requests remain open. The workflow is triggered on issue closure and delegates logic to a centralized reusable workflow maintained in the RequestNetwork/.github repository. This follows the established pattern already used in the codebase for auto-project and pr-comments workflows, promoting consistency and maintainability.
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User as Developer
participant GitHub as GitHub
participant Workflow as Workflow Engine
participant RequestNetworkGH as RequestNetwork/.github
User->>GitHub: Closes Issue
GitHub->>Workflow: Triggers reopen-issue-if-prs-open on issue.closed
Workflow->>RequestNetworkGH: Calls reusable workflow (reopen-issue-if-prs-open.yml@main)
Note over RequestNetworkGH: Checks for open PRs<br/>linked to the issue
alt Open PRs Found
RequestNetworkGH->>GitHub: Uses REOPEN_ISSUES_TOKEN to reopen issue
GitHub->>GitHub: Issue status changed to open
GitHub->>User: Issue reopened notification
else No Open PRs
RequestNetworkGH->>GitHub: No action taken
Note over GitHub: Issue remains closed
end
|
Adds workflow that reopens issues when closed while linked PRs are still open.
Fixes RequestNetwork/public-issues#131
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.