Skip to content

Wrong branch checked out (main) when opening a Pull Request #13991

Closed
@jankeromnes

Description

@jankeromnes

Bug description

When opening a Pull Request, we expect Gitpod to check out the Pull Request's branch.

However, since recently, it seems that it (sometimes?) checks out the default branch instead. 🐛

Steps to reproduce

  1. https://gitpod.io/#https://github.com/gitpod-io/gitpod/pull/13963
  2. Checked out branch should be jx/fix-attribution-again, but you actually get main instead:

Screenshot 2022-10-19 at 12 02 56

Workspace affected

gitpodio-gitpod-m35tlw96nof, gitpodio-gitpod-4nxderxz5x0

Expected behavior

  1. Gitpod should always check out the Pull Request branch

Example repository

https://github.com/gitpod-io/gitpod

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta: staleThis issue/PR is stale and will be closed soonteam: workspaceIssue belongs to the Workspace teamtype: bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions