From 92c81d0791c120e8c016dc23f4ea5c3bdefe2c09 Mon Sep 17 00:00:00 2001 From: David Vo Date: Tue, 26 Dec 2023 01:03:03 +1100 Subject: [PATCH] [ci] Update pregenerate workflow to actions/checkout@v4 (#6094) --- .github/workflows/pregenerate.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pregenerate.yml b/.github/workflows/pregenerate.yml index 9b01e0947b..fb85149251 100644 --- a/.github/workflows/pregenerate.yml +++ b/.github/workflows/pregenerate.yml @@ -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: