ci: configure gpg in the GNUPGHOME that setup-java v6 creates - #1649
Merged
Merged
Conversation
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
commented
Sep 30, 2026
zimeg
left a comment
Member
Author
There was a problem hiding this comment.
📝 A comment of changes needed most urgent!
Comment on lines
+42
to
+44
| echo "use-agent" >> "${GNUPGHOME}/gpg.conf" | ||
| echo "pinentry-mode loopback" >> "${GNUPGHOME}/gpg.conf" | ||
| echo "allow-loopback-pinentry" >> "${GNUPGHOME}/gpg-agent.conf" |
Member
Author
There was a problem hiding this comment.
👁️🗨️ note: This issue was raised in release most recent:
https://github.com/slackapi/java-slack-sdk/actions/runs/36782832971/job/110117712387
zimeg
marked this pull request as ready for review
September 30, 2026 22:10
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1649 +/- ##
=========================================
Coverage 72.90% 72.90%
Complexity 4593 4593
=========================================
Files 483 483
Lines 14565 14565
Branches 1520 1520
=========================================
Hits 10618 10618
Misses 3044 3044
Partials 903 903
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request fixes the release workflow, which fails in the "Configure GPG" step after the
actions/setup-javav6 bump (#1640).GNUPGHOME(actions/setup-java#1214), so~/.gnupgno longer exists andecho ... >> ~/.gnupg/gpg.confexits with "No such file or directory".${GNUPGHOME}/gpg.confand${GNUPGHOME}/gpg-agent.conf, the keyring setup-java imported the key into.server-username,server-password, andgpg-passphraseinputs are renamed to their*-env-varreplacements with the same values. WithMAVEN_GPG_PASSPHRASEas the passphrase variable, setup-java adds nothing tosettings.xml, and-Dgpg.passphrasecontinues to work withmaven-gpg-plugin1.6.Testing
mainand confirm "Configure GPG" passes and the artifacts are signed and published.Category (place an
xin each of the[ ])Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.
🤖 Generated with Claude Code