Skip to content

Duplicate assignments to an issue even though PR is active #959

Closed

Description

Problem

Currently, an issue can be assigned using /assign even when an active pull request already exists for that issue.

Additionally, multiple pull requests can be opened referencing the same issue simultaneously.

This leads to duplicated work, confusion and unnecessary review workload for maintainers.

Proposed Solution

Enhance the GitHub Actions workflow to detect existing PRs linked to an issue.

Assignment check

When a user runs /assign:

  • If no active PR exists → assign normally
  • If an active PR already exists → do not assign and instead comment informing the contributor that the issue is already being worked on

Pull request check (GOING TO IMPLEMENT THIS ONLY IF APPROVED BY MAINTAINERS)

When a PR is opened referencing an issue:

  • If it is the first PR → allow
  • If another open PR already references the same issue → automatically comment and close the duplicate PR

Benefit

This would:

  • reduce duplicate work
  • guide new contributors toward available issues
  • reduce maintainer review overhead
  • improve contributor experience

Activity

  1. added
    good first issue
    2026-02
    on Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2026-02good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions