mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2024-12-23 13:32:07 +01:00
feat: allow using a subkey for GPG signing
This commit is contained in:
parent
ea4115a12c
commit
a8f58509de
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,9 @@ inputs:
|
|||
description: 'GPG Private Key with which to sign the commits in the PR to be created'
|
||||
required: false
|
||||
default: ''
|
||||
gpg-fingerprint:
|
||||
description: 'Fingerprint of specific GPG subkey to use'
|
||||
required: false
|
||||
gpg-passphrase:
|
||||
description: 'GPG Private Key Passphrase for the GPG Private Key with which to sign the commits in the PR to be created'
|
||||
required: false
|
||||
|
@ -74,6 +77,7 @@ runs:
|
|||
uses: crazy-max/ghaction-import-gpg@v4
|
||||
with:
|
||||
gpg_private_key: ${{ inputs.gpg-private-key }}
|
||||
fingerprint: ${{ inputs.gpg-fingerprint }}
|
||||
passphrase: ${{ inputs.gpg-passphrase }}
|
||||
git_config_global: true
|
||||
git_user_signingkey: true
|
||||
|
|
Loading…
Reference in a new issue