Skip to content

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

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

MantisClone merged 1 commit into
mainfrom
chore/add-reopen-issue-workflow

Conversation

@MantisClone

Copy link
Copy Markdown
Contributor

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

Fixes RequestNetwork/public-issues#131

@coderabbitai

coderabbitai Bot commented Jan 19, 2026 •

Copy link
Copy Markdown
Contributor

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 32 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 7c877bb and 7ae562e.

📒 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:18
@greptile-apps

greptile-apps Bot commented Jan 19, 2026

Copy link
Copy Markdown

Greptile Summary

Adds a GitHub Actions workflow that automatically reopens issues when they are closed while linked pull requests are still open, preventing premature issue closure.

  • Uses reusable workflow from RequestNetwork/.github repository
  • Triggers on issue close events
  • Requires REOPEN_ISSUES_TOKEN secret to be configured
  • Follows the same pattern as other workflow files in the repository (auto-project.yml, pr-comments.yml)

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The workflow file is simple, follows established patterns in the repository, uses a reusable workflow from the organization's centralized repository, and only requires ensuring the secret is configured
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/reopen-issue-if-prs-open.yml Adds workflow to reopen closed issues when linked PRs are still open, using reusable workflow from RequestNetwork/.github

Sequence Diagram

sequenceDiagram
    participant User
    participant GitHub
    participant Workflow as Reopen Issue Workflow
    participant ReusableWorkflow as RequestNetwork/.github Workflow
    participant Issue

    User->>Issue: Close issue
    Issue->>GitHub: Trigger 'closed' event
    GitHub->>Workflow: Execute on issues:closed
    Workflow->>ReusableWorkflow: Call reusable workflow with REOPEN_ISSUES_TOKEN
    ReusableWorkflow->>GitHub: Check for linked PRs
    alt PRs are still open
        ReusableWorkflow->>Issue: Reopen issue
        ReusableWorkflow->>Issue: Add comment explaining reopening
    else No open PRs
        ReusableWorkflow->>ReusableWorkflow: No action needed
    end
    ReusableWorkflow-->>Workflow: Complete
    Workflow-->>GitHub: Workflow complete
Loading

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment thread .github/workflows/reopen-issue-if-prs-open.yml
@MantisClone MantisClone self-assigned this Jan 19, 2026
@MantisClone
MantisClone merged commit 72e2639 into main Jan 20, 2026
11 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