Skip to content

GitHub workflow missing ref PR merge #1982

Open
@oriy

Description

@oriy

checkout fails checking out refs/pull/<PR_ID>/merge

Run actions/checkout@v4.2.2
  with:
    ref: refs/pull/<PR_ID>/merge

added workflow demonstrating the checkout failure - #1981

issue reproduces:

  • create a PR
  • checkout PR merge branch refs/pull/<PR_ID>/merge - ✅ successfully
  • close PR, reopen PR
  • checkout PR merge branch refs/pull/<PR_ID>/merge - ⛔ FAIL

checkoutFail

checkoutFail2

checkoutFail3


started writing this workflow only after trying v4.2.1,
expected #1924 to fix the regression,
however, regression still here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions