From fc712ead2fad50f028355e00d91eb8f7c65dbe74 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Wed, 1 Feb 2023 13:28:30 -0800 Subject: [PATCH] Add GPG key to release --- .github/workflows/bun-release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bun-release.yml b/.github/workflows/bun-release.yml index 993fe2d799..dd5be6d025 100644 --- a/.github/workflows/bun-release.yml +++ b/.github/workflows/bun-release.yml @@ -101,7 +101,13 @@ jobs: with: repository: oven-sh/homebrew-bun token: ${{ secrets.ROBOBUN_TOKEN }} - - id: environment + - id: setup-gpg + name: Setup GPG + uses: crazy-max/ghaction-import-gpg@v5 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} + - id: setup-env name: Setup Environment run: | TAG="${{ github.event.inputs.tag }}" @@ -120,6 +126,7 @@ jobs: name: Commit Tap uses: stefanzweifel/git-auto-commit-action@v4 with: + commit_options: --signoff --gpg-sign=${{ steps.setup-gpg.outputs.keyid }} commit_message: Release ${{ env.TAG }} commit_user_name: robobun commit_user_email: robobun@oven.sh