Skip to content

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

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

chore: add reopen-issue-if-prs-open workflow#197
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
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 44 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 9ee1031 and 804048a.

📒 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 linked pull requests are still open. The workflow uses a reusable workflow from the RequestNetwork/.github repository.

  • Adds .github/workflows/reopen-issue-if-prs-open.yml that triggers on issue close events
  • Uses reusable workflow pattern consistent with existing workflows in the repo (e.g., auto-project.yml)
  • Requires REOPEN_ISSUES_TOKEN secret to be configured in repository settings

Note: The PR description references issue #131 about "USDT ethereum direct payments failure" which appears unrelated to this workflow change - verify the correct issue is referenced.

Confidence Score: 4/5

  • This PR is safe to merge with minimal risk, pending secret configuration verification
  • The workflow follows established patterns in the repository and has correct syntax. Score is 4 instead of 5 due to: (1) the required REOPEN_ISSUES_TOKEN secret must be verified/configured in repository settings, and (2) the PR description appears to reference an unrelated issue which should be clarified
  • No files require special attention - this is a straightforward workflow addition

Important Files Changed

Filename Overview
.github/workflows/reopen-issue-if-prs-open.yml New workflow to reopen closed issues if linked PRs are still open; requires REOPEN_ISSUES_TOKEN secret to be configured

Sequence Diagram

sequenceDiagram
    participant User
    participant GitHub as GitHub Issue
    participant Workflow as Reopen Issue Workflow
    participant ReusableWorkflow as RequestNetwork/.github<br/>Reusable Workflow
    participant API as GitHub API

    User->>GitHub: Close issue
    GitHub->>Workflow: Trigger on issue closed event
    Workflow->>ReusableWorkflow: Call reusable workflow<br/>with REOPEN_ISSUES_TOKEN
    ReusableWorkflow->>API: Check for linked open PRs
    alt Has open PRs
        ReusableWorkflow->>API: Reopen issue using token
        API->>GitHub: Issue reopened
        GitHub->>User: Notify issue reopened
    else No open PRs
        ReusableWorkflow->>GitHub: No action taken
    end
Loading

Copy link

@greptile-apps greptile-apps bot left a comment

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

@MantisClone MantisClone self-assigned this Jan 19, 2026
@MantisClone MantisClone merged commit cdfd318 into main Jan 20, 2026
18 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