Skip to content

chore: add reopen-issue-if-prs-open workflow#28

Merged
MantisClone merged 1 commit intomainfrom
chore/add-reopen-issue-workflow
Jan 20, 2026
Merged

chore: add reopen-issue-if-prs-open workflow#28
MantisClone merged 1 commit intomainfrom
chore/add-reopen-issue-workflow

Conversation

@MantisClone
Copy link
Member

Adds workflow that reopens issues when closed while linked PRs are still open.

Fixes RequestNetwork/public-issues#131

@coderabbitai
Copy link

coderabbitai bot commented Jan 19, 2026

Warning

Rate limit exceeded

@MantisClone has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 27 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

📥 Commits

Reviewing files that changed from the base of the PR and between d0ca530 and 603279a.

📒 Files selected for processing (1)
  • .github/workflows/reopen-issue-if-prs-open.yml

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@MantisClone MantisClone marked this pull request as ready for review January 19, 2026 21:19
@greptile-apps
Copy link

greptile-apps bot commented Jan 19, 2026

Greptile Summary

Adds a new GitHub Actions workflow that automatically reopens issues when they are closed while linked pull requests are still open. The workflow delegates to a reusable workflow hosted in the shared RequestNetwork/.github repository and follows the same architectural pattern as the existing auto-project.yml workflow. This addresses the issue tracking problem where issues may be inadvertently closed while their associated PRs remain open.

Confidence Score: 5/5

  • This PR is safe to merge with no risks. It adds a straightforward workflow file that delegates to an existing reusable workflow pattern.
  • The PR adds a minimal 11-line workflow file with no logic errors or security concerns. The workflow follows the exact same pattern as the existing auto-project.yml workflow and correctly uses a reusable workflow from the shared RequestNetwork/.github repository. YAML syntax is valid, secret handling is appropriate, and the trigger event (issues.closed) is correctly specified. No dependencies, environment setup, or complex logic introduce any risk.
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/reopen-issue-if-prs-open.yml New workflow file that triggers when issues are closed and delegates to a reusable workflow in the shared .github repository. File is properly formatted with valid YAML structure following the established pattern used in auto-project.yml. The workflow correctly passes the REOPEN_ISSUES_TOKEN secret for authentication.

Sequence Diagram

sequenceDiagram
    actor User
    participant GitHub as GitHub Platform
    participant Workflow as Reopen Workflow
    participant SharedGH as RequestNetwork/.github
    
    User->>GitHub: Closes an issue
    GitHub->>Workflow: Triggers (issues.closed event)
    Workflow->>SharedGH: Calls reusable workflow
    SharedGH->>SharedGH: Check linked PRs
    alt PRs still open
        SharedGH->>GitHub: Reopen issue
        GitHub->>User: Issue reopened
    else All PRs closed
        SharedGH->>GitHub: No action needed
    end
Loading

@MantisClone MantisClone self-assigned this Jan 19, 2026
@MantisClone MantisClone merged commit 69e9596 into main Jan 20, 2026
5 of 6 checks passed
@MantisClone MantisClone deleted the chore/add-reopen-issue-workflow branch January 20, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Automation] - Issues close prematurely when first PR in a stack merges

1 participant