File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ inputs:
72
72
description : " Manually specify the desired increment"
73
73
required : false
74
74
check_consistency :
75
- default : false
75
+ default : ' false'
76
76
description : " check consistency among versions defined in commitizen configuration and version_files"
77
77
required : false
78
78
gpg_sign :
@@ -82,10 +82,9 @@ inputs:
82
82
crazy-max/ghaction-import-gpg)
83
83
required : false
84
84
default : " false"
85
- gpg_private_key :
85
+ git_signingkey :
86
86
description : >
87
- The GPG private key to sign commits and tags (for git operations). `gpg_sign` must
88
- be set to true.
87
+ The UID for the GPG key git will use to sign commits and tags (for git operations). `gpg_sign` must be set to true.
89
88
required : false
90
89
debug :
91
90
description : " If true, prints debug output to GitHub Actions stdout."
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ echo "Git name: $(git config --get user.name)"
15
15
echo " Git email: $( git config --get user.email) "
16
16
17
17
if [[ $INPUT_GPG_SIGN == ' true' ]]; then
18
- if [[ -z $INPUT_GPG_PRIVATE_KEY ]]; then
19
- echo ' Missing input "gpg_private_key ".' >&2
18
+ if [[ -z $INPUT_GIT_SIGNINGKEY ]]; then
19
+ echo ' Missing input "git_signingkey ".' >&2
20
20
exit 2
21
21
fi
22
22
echo " Configuring GPG for signing commits and tags..."
23
23
git config --local commit.gpgsign true
24
24
git config --local tag.gpgsign true
25
- git config --local user.signingkey " ${INPUT_GPG_PRIVATE_KEY } "
25
+ git config --local user.signingkey " ${INPUT_GIT_SIGNINGKEY } "
26
26
echo " Git sign commits?: $( git config --get commit.gpgsign) "
27
27
echo " Git sign tags?: $( git config --get tag.gpgsign) "
28
28
fi
You can’t perform that action at this time.
0 commit comments