Skip to content

Commit

Permalink
Add bot user gpg and commit signing to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pdil committed Mar 18, 2024
1 parent 0482b22 commit b8da68e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ jobs:
include: "NEWS.md"
regex: false

- 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: Render PR body
id: pr-body
uses: chuhlomin/render-template@v1
Expand All @@ -61,6 +68,8 @@ jobs:
- name: Open pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT }}
committer: ${{ secrets.BOT_USER }}
commit-message: "[automated] Prepare for ${{ inputs.version }} release"
branch: release/${{ inputs.version }}
title: Release version ${{ inputs.version }}
Expand Down

0 comments on commit b8da68e

Please sign in to comment.