Skip to content

Commit fefe1ed

Browse files
committed
add gpg key contents and passphrase
Signed-off-by: Andrew Brandt <[email protected]>
1 parent 0d96689 commit fefe1ed

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

action.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ inputs:
2626
commit-author-email:
2727
description: 'Author of commit email address:'
2828
required: true
29+
gpg-key-contents:
30+
description: 'GPG Key Contents'
31+
required: true
32+
gpg-key-passphrase:
33+
description: 'GPG Key Passphrase'
34+
required: true
35+
2936

3037
runs:
3138
using: "composite"
@@ -139,8 +146,8 @@ runs:
139146
if: ${{ inputs.dry-run-enabled != 'true' }}
140147
shell: bash
141148
env:
142-
GPG_PRIVATE_KEY: ${{ secrets.GPG_KEY_CONTENTS }}
143-
GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
149+
GPG_PRIVATE_KEY: ${{ inputs.GPG_KEY_CONTENTS }}
150+
GPG_PASSPHRASE: ${{ inputs.GPG_KEY_PASSPHRASE }}
144151
run: |
145152
# Import GPG key
146153
echo "$GPG_PRIVATE_KEY" | gpg --batch --import

0 commit comments

Comments
 (0)