actions / checkout

Action for checking out a repo
https://github.com/features/actions
MIT License
5.95k stars 1.77k forks source link

GitHub workflow missing ref PR merge #1982

Open oriy opened 1 week ago

oriy commented 1 week ago

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:


checkoutFail

checkoutFail2

checkoutFail3


started writing this workflow only after trying v4.2.1, expected https://github.com/actions/checkout/pull/1924 to fix the regression, however, regression still here