diff --git a/.github/actions/goreleaser/action.yml b/.github/actions/goreleaser/action.yml index 31514f6..b86cc2a 100644 --- a/.github/actions/goreleaser/action.yml +++ b/.github/actions/goreleaser/action.yml @@ -79,6 +79,7 @@ runs: env: GITHUB_TOKEN: ${{ inputs.github-token }} GORELEASER_KEY: ${{ inputs.goreleaser-key }} + HOMEBREW_TAP_TOKEN: ${{ inputs.homebrew-tap-token }} CGO_ENABLED: ${{ inputs.cgo-enabled }} - name: Run GoReleaser Pro (merge) @@ -91,3 +92,4 @@ runs: env: GITHUB_TOKEN: ${{ inputs.github-token }} GORELEASER_KEY: ${{ inputs.goreleaser-key }} + HOMEBREW_TAP_TOKEN: ${{ inputs.homebrew-tap-token }} diff --git a/.github/workflows/go-release-cgo.yaml b/.github/workflows/go-release-cgo.yaml index 266f8f0..d0263c4 100644 --- a/.github/workflows/go-release-cgo.yaml +++ b/.github/workflows/go-release-cgo.yaml @@ -119,6 +119,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_KEY: ${{ secrets.GORELEASER_PRO }} + HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }} test: name: Test @@ -285,6 +286,7 @@ jobs: cgo-enabled: "1" github-token: ${{ secrets.GITHUB_TOKEN }} goreleaser-key: ${{ secrets.GORELEASER_PRO }} + homebrew-tap-token: ${{ secrets.HOMEBREW_TAP_TOKEN }} - name: Upload artifacts uses: actions/upload-artifact@v7 @@ -364,6 +366,7 @@ jobs: mode: merge github-token: ${{ secrets.GITHUB_TOKEN }} goreleaser-key: ${{ secrets.GORELEASER_PRO }} + homebrew-tap-token: ${{ secrets.HOMEBREW_TAP_TOKEN }} - name: Rolling release if: inputs.rolling-release-tag != ''