File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff 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
3037runs :
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
You can’t perform that action at this time.
0 commit comments