From 57a22d11862925ccae511a917a75957451a12838 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Tue, 27 Aug 2024 23:54:01 -0500 Subject: [PATCH] ci: gpg commit signing for cron-update-rust.yml --- .github/workflows/cron-update-rust.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cron-update-rust.yml b/.github/workflows/cron-update-rust.yml index 918bea07e..5741aa6b8 100644 --- a/.github/workflows/cron-update-rust.yml +++ b/.github/workflows/cron-update-rust.yml @@ -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 - committer: Update Rustc Bot + author: Github Action + committer: Github Action branch: create-pull-request/update-rust-version title: | ci: automated update to rustc ${{ env.rust_version }}