Skip to content

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

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

chore: add reopen-issue-if-prs-open workflow#4
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 42 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 79dca07 and 510db72.

📒 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
Copy link

greptile-apps bot commented Jan 19, 2026

Greptile Summary

This PR adds a GitHub Actions workflow that automatically reopens issues when they are closed while having open pull requests still linked to them. The workflow follows the same pattern as the existing auto-project.yml workflow, using a reusable workflow from the RequestNetwork/.github repository and requiring the REOPEN_ISSUES_TOKEN secret to be configured.

  • Triggers on issue close events
  • Delegates to centralized reusable workflow at RequestNetwork/.github/.github/workflows/reopen-issue-if-prs-open.yml@main
  • Requires REOPEN_ISSUES_TOKEN secret to be configured in repository settings

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The workflow file is simple, follows established repository patterns, delegates to a centralized reusable workflow maintained by the organization, and only adds automation without modifying existing code or logic
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/reopen-issue-if-prs-open.yml Adds workflow to reopen issues when closed while linked PRs are open, following repository patterns

Sequence Diagram

sequenceDiagram
    participant User
    participant Issue as GitHub Issue
    participant Workflow as reopen-issue-if-prs-open.yml
    participant Reusable as RequestNetwork/.github Reusable Workflow
    participant API as GitHub API
    
    User->>Issue: Close issue
    Issue->>Workflow: Trigger (issues:closed event)
    Workflow->>Reusable: Call reusable workflow
    Note over Workflow,Reusable: Pass REOPEN_ISSUES_TOKEN secret
    Reusable->>API: Check for linked open PRs
    alt Has open PRs
        API-->>Reusable: Returns open PR list
        Reusable->>API: Reopen issue
        API-->>Issue: Issue reopened
    else No open PRs
        API-->>Reusable: No open PRs found
        Reusable-->>Issue: Issue remains closed
    end
Loading

@MantisClone MantisClone self-assigned this Jan 19, 2026
@MantisClone MantisClone merged commit decec09 into main Jan 20, 2026
3 checks passed
@MantisClone MantisClone deleted the chore/add-reopen-issue-workflow branch January 20, 2026 06:30
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