Unverified Commit 5b94850d authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update checkout step (#59079)

When jobs are cancelled we can end up with a bad `.git` tree so this
updates to have a fresh checkout step to avoid this

x-ref:
https://github.com/vercel/next.js/actions/runs/7036193103/job/19148358339?pr=59076
parent 7d129451
......@@ -89,6 +89,8 @@ jobs:
- run: corepack enable
- run: pwd
- run: rm -rf .git
- uses: actions/checkout@v3
with:
fetch-depth: 25
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment