]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: sign the release commit in workflow
authorEvan You <evan@vuejs.org>
Tue, 6 Aug 2024 14:57:52 +0000 (22:57 +0800)
committerEvan You <evan@vuejs.org>
Tue, 6 Aug 2024 14:57:52 +0000 (22:57 +0800)
.github/workflows/release.yml

index 823bbcd4543586fcc9d8fd8169c0f47e8583a31b..fcf0c3fac512c4bace9176809c09d2fcb34766d6 100644 (file)
@@ -62,6 +62,14 @@ jobs:
           git config user.name "vue-bot"
           git config user.email "<bot@vuejs.org>"
 
+      - 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: |