From 16a4482ce382a7f4f9e23f37cb742cb35f959bdf Mon Sep 17 00:00:00 2001 From: Erik van Oosten Date: Sun, 10 Nov 2024 14:24:51 +0100 Subject: [PATCH] Fix automatic pruning of benchmark history (attempt 2) (#1373) --- .github/workflows/benchs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchs.yml b/.github/workflows/benchs.yml index 73e1a1d99..3ace00c18 100644 --- a/.github/workflows/benchs.yml +++ b/.github/workflows/benchs.yml @@ -94,10 +94,10 @@ jobs: if: ${{ github.event_name != 'pull_request' }} run: | echo "::group::Checkout gh-pages branch" - git config pull.rebase true git clean -fdx git checkout gh-pages - git pull + git branch --set-upstream-to=origin/gh-pages gh-pages + git pull --rebase git config --global user.name "zio-kafka CI" git config --global user.email "ziokafkaci@users.noreply.github.com" echo "::endgroup::"