Skip to content

Commit b140b32

Browse files
committed
ci: gpg commit signing for cron-update-rust.yml
1 parent 054d148 commit b140b32

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/cron-update-rust.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
with:
1616
app_id: ${{ secrets.APP_ID }}
1717
private_key: ${{ secrets.APP_PRIVATE_KEY }}
18+
- uses: crazy-max/ghaction-import-gpg@v5
19+
with:
20+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
21+
git_user_signingkey: true
22+
git_commit_gpgsign: true
1823
- name: Update rust-version to use latest stable
1924
run: |
2025
set -x
@@ -36,8 +41,8 @@ jobs:
3641
uses: peter-evans/create-pull-request@v6
3742
with:
3843
token: ${{ steps.generate-token.outputs.token }}
39-
author: Update Rustc Bot <[email protected]>
40-
committer: Update Rustc Bot <[email protected]>
44+
author: Github Action <[email protected]>
45+
committer: Github Action <[email protected]>
4146
branch: create-pull-request/update-rust-version
4247
title: |
4348
ci: automated update to rustc ${{ env.rust_version }}

0 commit comments

Comments
 (0)