cleanup: Use --delete-secret-and-public-key to delete GPG_PRIVATE_KEY by bjhargrave · Pull Request #226 · actions/setup-java

@JarvisCraft mentioned this pull request

Sep 18, 2021

5 tasks

@bjhargrave

This deletes the secret key(s) and public keys(s) for the fingerprint
of the installed GPG_PRIVATE_KEY.

If the installed GPG_PRIVATE_KEY only contains a signing subkey without
the primary private key, the --delete-secret-and-public-key will
successfully delete the keys.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>

bjhargrave added a commit to bjhargrave/transformer that referenced this pull request

Sep 21, 2021
This is temporary while we wait for GitHub to merge
actions/setup-java#226

Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>

dmitry-shibanov

bjhargrave added a commit to bjhargrave/transformer that referenced this pull request

Sep 29, 2021

ind1go added a commit to ind1go/cics-bundle-maven that referenced this pull request

Apr 1, 2022
Signed-off-by: Ben Cox <1038350+ind1go@users.noreply.github.com>

davenice added a commit to IBM/cics-bundle-maven that referenced this pull request

Apr 4, 2022

tdfacer pushed a commit to ifit/setup-java that referenced this pull request

Oct 7, 2025
…actions#226)

This deletes the secret key(s) and public keys(s) for the fingerprint
of the installed GPG_PRIVATE_KEY.

If the installed GPG_PRIVATE_KEY only contains a signing subkey without
the primary private key, the --delete-secret-and-public-key will
successfully delete the keys.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>