diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml index 3fa5ce8..74e6d32 100644 --- a/.github/workflows/reusable-release.yml +++ b/.github/workflows/reusable-release.yml @@ -61,6 +61,10 @@ jobs: key_fingerprint=$key_fingerprint key_email=$key_email EndOfFile + if ! [[ "$key_fingerprint" =~ ^[[:xdigit:]]{8,}$ ]]; then + echo "::error title=Invalid PGP key::Has the SONATYPE_PASSWORD been set correctly?" + exit 1 + fi - name: Check for default branch id: generate-version-suffix env: