GitHub workflow missing ref PR merge
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
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
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the workflow added in issue #1981 and reproduce the sequence using actions/checkout@v4.2.2: create a PR, check out refs/pull/<PR_ID>/merge, close and reopen the PR, then retry. Compare the behavior with the reported regression in issue #1782 and pull request #1924; done means the merge ref can be checked out after reopening the PR.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github-actions, typescript
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100