Skip to content

Duplication when setting a PR to draft then undrafting it #30

Description

@mehdiben7

I observed a behaviour that I'm not sure is intentional or a bug, so please enlight me:

Steps to reproduce

  1. Create a ready-to-review PR that asks for Dispatch
  2. Mark it draft
  3. Undraft it

OR

  1. Create a draft PR that asks for Dispatch
  2. Undraft it

Current behaviour

Dispatch re-launches its process, computing relevant reviewers which might lead to asking review for additionnal people again and again as many time as the PR is drafted/undrafted

Expected? behaviour

Dispatch checks if it has done its job before and does not ask for reviewers more than once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions