diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f3e7146..c4d5766 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,6 +26,12 @@ jobs: - name: Sync version run: invoke syncv + - name: If exists the branch version-sync-branch, delete it + run: | + git branch -D version-sync-branch || true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create new branch and commit version change run: | git config --global user.email "github-actions[bot]@users.noreply.github.com"