diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 133a244..5088ad0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -14,6 +14,14 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: + - name: Generate app token + id: app-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.ADMIN_APP_ID }} + private-key: ${{ secrets.ADMIN_APP_PRIVATE_KEY }} + owner: kernel + repositories: homebrew-tap - name: Checkout uses: actions/checkout@v4 with: @@ -29,4 +37,4 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} \ No newline at end of file + HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} \ No newline at end of file