From d8b4205d777eaf44ebe070a658b08fbb50d17cdc Mon Sep 17 00:00:00 2001 From: josedev-union Date: Sat, 20 Jan 2024 15:47:19 +0200 Subject: [PATCH] ci: fetch origin explicitly in sync job again --- .github/workflows/sync.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 6df7f7256ab89..0f7b30bc1896d 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -28,6 +28,7 @@ jobs: run: | echo "Resetting origin to: https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY" git remote set-url origin "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY" + git fetch origin --quiet echo "Fetching upstream" git remote add tmp_upstream ${{ env.UPSTREAM_REPO }}