Skip to content

pr reopen fails when passing a branch as arg #3350

@cristiand391

Description

@cristiand391

Describe the bug

gh pr reopen fails to reopen a PR when passing a branch as argument.

Steps to reproduce the behavior

  1. Type this gh pr reopen <branch> (make sure the PR is closed)
  2. See output ! Pull request #33 (...) is already open

Expected vs actual behavior

It should reopen the PR but it seems it fails to detect its current status.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions