Repository navigation
fix(ci): restore checkout v5 for release branches - #30611
Conversation
The v7 bump regressed the workflow that persists checkout credentials and pushes the newly created release branch. Restore the last known-good checkout version only for this workflow.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ ApprovedRestores actions/checkout OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar | Powered by Gitar — free for open source |
✅ Playwright Results — workflow succeededValidated commit ✅ 537 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 5 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 47m 11s ⏱️ Max setup 2m 55s · max shard execution 14m 7s · max shard-job elapsed before upload 17m 23s · reporting 3s 🌐 203.02 requests/attempt · 2.86 app boots/UI scenario · 5.90% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Summary
actions/checkout@v5only in the release-branch creation workflowWhy
#30509 moved this workflow from checkout v5 to v7. Both 1.13.2 attempts completed the version update and created the expected local commit, then GitHub rejected the branch push while validating workflows:
This workflow is distinct from the other upgraded workflows: checkout persists the credentials later used by
EndBug/add-and-committo create and push a new branch. The latest successful equivalent run used checkout v5 withEndBug/add-and-commit@v10, making this the smallest rollback at the regression boundary.Test plan
git diff --checkGreptile Summary
Restores
actions/checkout@v5in the release-branch creation workflow so the subsequent commit action can reuse persisted checkout credentials when pushing the new branch.Confidence Score: 5/5
The PR appears safe to merge, with the targeted rollback restoring the last known-compatible checkout behavior for release-branch pushes.
The workflow retains its existing trigger, write permission, branch input, version-update step, and add-and-commit configuration while changing only checkout credential handling back to the previously working action version.
Important Files Changed
Reviews (1): Last reviewed commit: "fix(ci): restore checkout v5 for release..." | Re-trigger Greptile