diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e6995b12..63dcbcfc 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -198,6 +198,12 @@ jobs: git config --global credential.helper store git config --global user.name "Starship Bot" git config --global user.email "bot@starship.rs" + + cd $(brew --repo homebrew/core) + git fetch origin + sudo git reset --hard origin/master + cd - + brew bump-formula-pr --url=https://github.com/starship/starship/archive/$(git describe --tags).tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship --force env: HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}