From 1b0757fbc0f2b8f07577d80c9e6b157d5362274e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 21 Jan 2022 19:35:47 +0100 Subject: [PATCH] sync: do fetch the correct branch Signed-off-by: Johannes Schindelin --- .github/workflows/sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 0c56f3d4949..11e6af508ff 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Partial clone run: | - git clone --bare --depth=1 --filter=blob:none https://github.com/$GITHUB_REPOSITORY . + git clone --bare --depth=1 -b lore-$LORE_EPOCH --filter=blob:none https://github.com/$GITHUB_REPOSITORY . - name: Update from lore.kernel.org run: | git fetch https://lore.kernel.org/git/$LORE_EPOCH refs/heads/master:refs/heads/lore-$LORE_EPOCH