Skip to content

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
Contributor

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 14 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 91fed32 and 4f1c60c.

📒 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
Contributor

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 remain open. The workflow delegates to a reusable workflow in the RequestNetwork/.github repository and uses the REOPEN_ISSUES_TOKEN secret for authentication.

  • New workflow triggers on issue closure events
  • Follows the repository's pattern of using reusable workflows from the org-level .github repository
  • Uses consistent secret naming pattern (token parameter) similar to other workflows like pr-comments.yml

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The workflow is a simple addition that follows established patterns in the repository. It delegates all logic to a reusable workflow in the organization's central .github repository, uses proper event triggers, and follows the same structure as other workflows like auto-project.yml. The implementation is clean with no security concerns.
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/reopen-issue-if-prs-open.yml New workflow added to reopen issues when closed while linked PRs remain open

Sequence Diagram

sequenceDiagram
    participant Issue
    participant GHA as GitHub Actions
    participant RW as Reusable Workflow
    participant API as GitHub API
    participant PR as Pull Request

    Issue->>GHA: Issue closed event
    GHA->>RW: Trigger reopen-issue-if-prs-open workflow
    RW->>API: Query linked PRs for issue
    API-->>RW: Return list of linked PRs
    RW->>RW: Check if any PRs are still open
    alt PRs still open
        RW->>API: Reopen issue using REOPEN_ISSUES_TOKEN
        API-->>Issue: Issue reopened
    else No open PRs
        RW->>RW: No action needed
    end
Loading

@MantisClone MantisClone self-assigned this Jan 19, 2026
@MantisClone MantisClone merged commit 0324fff into master Jan 20, 2026
20 of 22 checks passed
@MantisClone MantisClone deleted the chore/add-reopen-issue-workflow branch January 20, 2026 06:32
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

2 participants