From 7c75cc3988e5e7bd7eeb002bfeb561a0e2ce28e8 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 6 Aug 2024 22:57:52 +0800 Subject: [PATCH] workflow: sign the release commit in workflow --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 823bbcd4543..fcf0c3fac51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,6 +62,14 @@ jobs: git config user.name "vue-bot" git config user.email "" + - name: Import GPG key + uses: crazy-max/ghaction-import-gpg@v6 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} + git_user_signingkey: true + git_commit_gpgsign: true + - name: Run release script id: release run: |