diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index d4b772c..77c5a5a 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -27,4 +27,5 @@ jobs: args: release --rm-dist key: ${{ secrets.YOUR_PRIVATE_KEY }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_PAT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 8501204..0ec6d32 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -61,6 +61,7 @@ brews: tap: owner: guumaster name: homebrew-tap + token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" homepage: https://github.com/guumaster/hostctl description: Your dev tool to manage /etc/hosts like a pro commit_author: