diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index d41d4dc7..52ee0e29 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -102,7 +102,9 @@ jobs: git config user.name "GitHub Actions Bot" git config user.email "github-actions[bot]@users.noreply.github.com" git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + git stash git pull origin main + git stash pop git add Formula/screenpipe.rb git commit -m "chore: update brew to version ${{ env.VERSION }} for ${{ matrix.target }}" git push