Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
358b71a
feat(action.yml): add `gpg` inputs
Oct 24, 2022
8d41906
feat(entrypoing.sh): add `gpg` sign
Oct 24, 2022
0735f8b
fix(entrypoint.sh): set git config
Oct 24, 2022
fa64f0e
fix(gpg): add `signingkey`
Oct 24, 2022
2bae08e
feat(debug): add option for debug output
Oct 24, 2022
d4f4171
fix(signingkey): specify UID
Oct 24, 2022
94d316f
fix(entrypoint.sh): add `gpg.program`
Oct 24, 2022
a1c8571
feat(entrypoint.sh): write `gpg` script
Oct 24, 2022
2cf68aa
fix(entrypoint.sh): replace `systemctl`
Oct 24, 2022
6aa4862
fix(entrypoint.sh): remove `sudo`
Oct 24, 2022
c4d392c
Revert "fix(entrypoint.sh): replace `systemctl`"
Oct 24, 2022
5f51069
Revert "feat(entrypoint.sh): write `gpg` script"
Oct 24, 2022
0d6bd3f
Revert "fix(entrypoint.sh): add `gpg.program`"
Oct 24, 2022
a877e09
fix(entrypoint.sh): remove signing commits
Oct 24, 2022
42dd53b
fix(entrypoint.sh): remove signing configs
Oct 24, 2022
643bfdc
fix(entrypoint.sh): remove `--gpg-sign`
Oct 24, 2022
de4b095
fix(entrypoint.sh): add `commit.gpgsign`
Oct 24, 2022
e9c803c
fix(entrypoint.sh): add `gpg-sign` back
Oct 24, 2022
dee95ea
fix(entrypoint.sh): move `--gpg-sign` after bump
Oct 24, 2022
e543aff
fix(entrypoint.sh): move `--debug`
Oct 24, 2022
6215295
Revert "fix(entrypoint.sh): move `--debug`"
Oct 24, 2022
467d6ca
fix(entrypoint.sh): add `commit.gpgsign`
Oct 24, 2022
4a8d87f
ci(test): add `gpg -K` to stdout
Oct 24, 2022
4baddf4
ci(test): more printouts
Oct 24, 2022
c50654a
ci(test): even more printouts
Oct 24, 2022
9c830e5
ci(test): print which `gpg` is running
Oct 24, 2022
b024f58
ci(test): let `import-gpg` setup `gpg`
Oct 25, 2022
b67ce16
ci(test): print `gpg --version`
Oct 25, 2022
3b2cae5
feat(ci): run in docker container
Oct 25, 2022
aaea398
Revert "feat(ci): run in docker container"
Oct 25, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci(test): let import-gpg setup gpg
  • Loading branch information
Hendry, Adam committed Oct 25, 2022
commit b024f58ecfcb008dc85202a39804c30ab863334a
4 changes: 0 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ inputs:
crazy-max/ghaction-import-gpg)
required: false
default: "false"
git_signingkey:
description: >
The UID for the GPG key git will use to sign commits and tags (for git operations). `gpg_sign` must be set to true.
required: false
debug:
description: "If true, prints debug output to GitHub Actions stdout."
required: false
Expand Down
12 changes: 0 additions & 12 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ git config --local pull.rebase true
echo "Git name: $(git config --get user.name)"
echo "Git email: $(git config --get user.email)"

if [[ $INPUT_GPG_SIGN == 'true' ]]; then
if [[ -z $INPUT_GIT_SIGNINGKEY ]]; then
echo 'Missing input "git_signingkey".' >&2
exit 2
fi
echo "Configuring GPG for signing commits and tags..."
echo "which gpg"
which gpg
git config --local commit.gpgsign true
git config --local user.signingkey "${INPUT_GIT_SIGNINGKEY}"
fi

PIP_CMD=('pip' 'install')
if [[ $INPUT_COMMITIZEN_VERSION == 'latest' ]]; then
PIP_CMD+=('commitizen')
Expand Down