Skip to content

Commit b024f58

Browse files
author
Hendry, Adam
committed
ci(test): let import-gpg setup gpg
1 parent 9c830e5 commit b024f58

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ inputs:
8282
crazy-max/ghaction-import-gpg)
8383
required: false
8484
default: "false"
85-
git_signingkey:
86-
description: >
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.
88-
required: false
8985
debug:
9086
description: "If true, prints debug output to GitHub Actions stdout."
9187
required: false

entrypoint.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@ git config --local pull.rebase true
1414
echo "Git name: $(git config --get user.name)"
1515
echo "Git email: $(git config --get user.email)"
1616

17-
if [[ $INPUT_GPG_SIGN == 'true' ]]; then
18-
if [[ -z $INPUT_GIT_SIGNINGKEY ]]; then
19-
echo 'Missing input "git_signingkey".' >&2
20-
exit 2
21-
fi
22-
echo "Configuring GPG for signing commits and tags..."
23-
echo "which gpg"
24-
which gpg
25-
git config --local commit.gpgsign true
26-
git config --local user.signingkey "${INPUT_GIT_SIGNINGKEY}"
27-
fi
28-
2917
PIP_CMD=('pip' 'install')
3018
if [[ $INPUT_COMMITIZEN_VERSION == 'latest' ]]; then
3119
PIP_CMD+=('commitizen')

0 commit comments

Comments
 (0)