[ci] Update pregenerate workflow to actions/checkout@v4 (#6094)

This commit is contained in:
David Vo
2023-12-26 01:03:03 +11:00
committed by GitHub
parent 1ce617be07
commit 92c81d0791

View File

@@ -15,12 +15,9 @@ jobs:
name: "Update"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Fetch all history and metadata
run: |
git fetch --prune --unshallow
git checkout -b pr
git branch -f main origin/main
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
with: