From 36828c59228e520f944824d053445157cc084e3a Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Fri, 24 May 2024 17:01:29 +0200 Subject: [PATCH] fetch before checkout --- .github/workflows/CI_pypi_release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI_pypi_release.yml b/.github/workflows/CI_pypi_release.yml index 0df83a772..77daa415d 100644 --- a/.github/workflows/CI_pypi_release.yml +++ b/.github/workflows/CI_pypi_release.yml @@ -59,6 +59,7 @@ jobs: run: | git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" + git fetch git checkout main git add ${{ steps.pathfinder.outputs.project_path }} git commit -m"Update the changelog"