Uh oh!
There was an error while loading. Please reload this page.
chore: add reopen-issue-if-prs-open workflow - #16
Conversation
WalkthroughA new GitHub Actions workflow is added that triggers when issues are closed. It calls a reusable remote workflow from RequestNetwork's main branch, passing the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 SummaryThis PR adds a GitHub Actions workflow that automatically reopens issues when they are closed while linked pull requests remain open.
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant GitHub
participant Workflow as Reopen Issue Workflow
participant ReusableWorkflow as RequestNetwork/.github Workflow
participant IssueAPI as GitHub Issues API
User->>GitHub: Close Issue
GitHub->>Workflow: Trigger (issues.closed event)
Workflow->>ReusableWorkflow: Call reusable workflow
Note over Workflow,ReusableWorkflow: Pass REOPEN_ISSUES_TOKEN secret
ReusableWorkflow->>IssueAPI: Check if issue has linked PRs
alt Linked PRs are still open
ReusableWorkflow->>IssueAPI: Reopen Issue
IssueAPI-->>GitHub: Issue reopened
GitHub-->>User: Notification (issue reopened)
else No open linked PRs
ReusableWorkflow-->>Workflow: No action needed
end
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.github/workflows/reopen-issue-if-prs-open.yml:
- Around line 8-10: The reusable workflow reference uses an unstable ref
('RequestNetwork/.github/.github/workflows/reopen-issue-if-prs-open.yml@main')
which should be pinned; update the uses value in the reopen-if-needed entry to
point to a specific commit SHA or a released tag instead of `@main` (preserve the
same path and the secrets block), e.g. replace `@main` with the chosen commit SHA
or tag so upstream changes cannot modify behavior unexpectedly.
Uh oh!
There was an error while loading. Please reload this page.
Adds workflow that reopens issues when closed while linked PRs are still open.
FixesRequestNetwork/public-issues#131
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.