Skip to content

fix: reopen PR when issue is re-assigned to different user (fix #186)#1

Open
mesiyoq965-sudo wants to merge 1 commit into
developmentfrom
fix/186-reopen-pr-on-reassign
Open

fix: reopen PR when issue is re-assigned to different user (fix #186)#1
mesiyoq965-sudo wants to merge 1 commit into
developmentfrom
fix/186-reopen-pr-on-reassign

Conversation

@mesiyoq965-sudo
Copy link
Copy Markdown
Owner

Summary

When an issue is re-assigned to a new contributor, automatically re-open any closed PRs from the previous contributor that are linked to that issue.

Changes

  • Add issues.assigned event handler to plugin.ts
  • Add issues.assigned to SupportedEvents type
  • Create
    eopen-pr-on-reassign.ts handler that:
    • Listens for issues.assigned events
    • Finds closed PRs linked to the re-assigned issue from different authors
    • Re-opens those PRs with a comment explaining why

Resolves: ubiquity-os-marketplace#186

@mesiyoq965-sudo mesiyoq965-sudo force-pushed the fix/186-reopen-pr-on-reassign branch from ddb9889 to e38b637 Compare May 3, 2026 07:53
…ity-os-marketplace#186)

- Add issues.assigned event handler to plugin.ts
- Add SupportedEvents type for issues.assigned
- Create reopen-pr-on-reassign.ts handler that:
  - Listens for issues.assigned events
  - Finds closed PRs linked to the re-assigned issue from different authors
  - Re-opens those PRs and comments explaining why

Resolves: ubiquity-os-marketplace#186
@mesiyoq965-sudo mesiyoq965-sudo force-pushed the fix/186-reopen-pr-on-reassign branch from e38b637 to 39969a9 Compare May 3, 2026 07:58
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.

Re-open PR if re-assigned by admin

1 participant