diff --git a/.github/workflows/zitadel.yml b/.github/workflows/zitadel.yml index 0ae83a0453..ed0b21def1 100644 --- a/.github/workflows/zitadel.yml +++ b/.github/workflows/zitadel.yml @@ -65,6 +65,7 @@ jobs: args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN_TAP: ${{ steps.generate_token.outputs.token }} RELEASE_VERSION: ${{ steps.semantic.outputs.release-version }} # I think this line is not needed. Nevertheless, it's explicit - name: Publish go coverage uses: codecov/codecov-action@v3.1.0 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 58afcb9820..f2e5a595a7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -67,8 +67,7 @@ brews: - tap: owner: zitadel name: zitadel-tap - token: "{{ steps.generate-token.outputs.token }}" - + token: "{{ .Env.GITHUB_TOKEN_TAP }}" folder: Formula goarm: "7" homepage: https://zitadel.ch