diff --git a/.github/workflows/post-release-push-images.yml b/.github/workflows/post-release-push-images.yml index 9f8f5d80..593d7b8b 100644 --- a/.github/workflows/post-release-push-images.yml +++ b/.github/workflows/post-release-push-images.yml @@ -24,6 +24,7 @@ jobs: git config --global user.email 'github-actions[bot]@users.noreply.github.com' git add VERSION git commit -m "Update VERSION file to ${{ github.event.release.tag_name }}" + git pull --rebase origin main git push origin HEAD:main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}