Skip to content

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

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

chore: add reopen-issue-if-prs-open workflow#115
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 47 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 ae96043 and 36b588d.

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

greptile-apps bot commented Jan 19, 2026

Greptile Summary

This PR adds a new GitHub workflow that automatically reopens issues when they are closed while linked pull requests remain open. The workflow delegates to a reusable workflow from RequestNetwork/.github and follows the established pattern used in the repository for other workflow delegations (auto-project.yml, pr-comments.yml). The implementation is minimal and clean, passing the required secret token to the reusable workflow.

Confidence Score: 5/5

  • This PR is safe to merge with no security or functional concerns.
  • The PR adds a straightforward workflow that correctly delegates to a reusable workflow in the RequestNetwork/.github repository. The implementation follows established patterns in the codebase (consistent with auto-project.yml and pr-comments.yml), properly passes the required authentication token, and has correct event trigger configuration. The change is minimal (11 lines), focused, and addresses a specific issue without introducing any breaking changes or security risks.
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/reopen-issue-if-prs-open.yml New workflow file that delegates to RequestNetwork/.github's reusable workflow. Properly structured with event triggers (on issue close), correct secret passing, and follows the established pattern used by other workflows in the repo like auto-project.yml. No issues detected.

Sequence Diagram

sequenceDiagram
    participant Issue as GitHub Issue
    participant Workflow as Reopen Workflow
    participant ReusableWf as RequestNetwork/.github<br/>Reusable Workflow
    participant API as GitHub API
    
    Issue->>Workflow: Issue closed event trigger
    activate Workflow
    Workflow->>ReusableWf: Invoke reusable workflow<br/>(with REOPEN_ISSUES_TOKEN)
    activate ReusableWf
    ReusableWf->>API: Check linked PRs
    API-->>ReusableWf: PR status
    ReusableWf->>API: Reopen issue if PRs open
    API-->>ReusableWf: Issue reopened
    deactivate ReusableWf
    ReusableWf-->>Workflow: Workflow complete
    deactivate Workflow
Loading

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

2 participants