]> Untitled Git - bdk/commitdiff
ci: gpg commit signing for cron-update-rust.yml
authorSteve Myers <steve@notmandatory.org>
Wed, 28 Aug 2024 04:54:01 +0000 (23:54 -0500)
committerSteve Myers <steve@notmandatory.org>
Wed, 28 Aug 2024 04:54:01 +0000 (23:54 -0500)
.github/workflows/cron-update-rust.yml

index 918bea07ec67e2042cef565c9c7666e9ea92e41f..5741aa6b8aa57980bf3ff851a94d30560edb4bf5 100644 (file)
@@ -15,6 +15,11 @@ jobs:
         with:
           app_id: ${{ secrets.APP_ID }}
           private_key: ${{ secrets.APP_PRIVATE_KEY }}
+      - uses: crazy-max/ghaction-import-gpg@v5
+        with:
+          gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
+          git_user_signingkey: true
+          git_commit_gpgsign: true
       - name: Update rust-version to use latest stable
         run: |
           set -x
@@ -36,8 +41,8 @@ jobs:
         uses: peter-evans/create-pull-request@v6
         with:
           token: ${{ steps.generate-token.outputs.token }}
-          author: Update Rustc Bot <bot@example.com>
-          committer: Update Rustc Bot <bot@example.com>
+          author: Github Action <github@bitcoindevkit.org>
+          committer: Github Action <github@bitcoindevkit.org>
           branch: create-pull-request/update-rust-version
           title: |
             ci: automated update to rustc ${{ env.rust_version }}