diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 990d4b56..466f48d5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -108,7 +108,15 @@ jobs: - name: Tap formula run: brew tap elixir-tools/tap + - name: Configure git + run: | + git config --global user.name github-actions[bot] + git config --global user.email github-actions[bot]@users.noreply.github.com + - name: Bump formula + env: + HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | formula="next-ls" version="${{ needs.release.outputs.tag_name }}" @@ -121,4 +129,4 @@ jobs: git checkout main && git pull ) - HOMEBREW_GITHUB_API_TOKEN="$(gh auth token)" brew bump-formula-pr "$formula" --url="$url" --sha256="$sha" --no-fork --no-browse + brew bump-formula-pr "$formula" --url="$url" --sha256="$sha" --no-fork --no-browse