diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b03d872d..27a295c69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -136,10 +136,24 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - uses: crazy-max/ghaction-import-gpg@v6 + id: import-gpg + with: + gpg_private_key: ${{ secrets.HYP_BOT_GPG_PRIVATE }} + passphrase: ${{ secrets.HYP_BOT_GPG_PASSWORD }} + git_user_signingkey: true + git_commit_gpgsign: true + git_config_global: true + git_tag_gpgsign: false + - name: Commit updated files and tag the release uses: stefanzweifel/git-auto-commit-action@v5 if: ${{ inputs.release_swift }} with: + commit_author: "${{ steps.import-gpg.outputs.name }} <${{ steps.import-gpg.outputs.email }}>" + commit_user_name: ${{ steps.import-gpg.outputs.name }} + commit_user_email: ${{ steps.import-gpg.outputs.email }} + commit_options: '-s -S' commit_message: | chore(release): v${{ github.event.inputs.version }} tagging_message: v${{ github.event.inputs.version }}