We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f191a97 commit dc498e2Copy full SHA for dc498e2
.github/workflows/maven-central.yml
@@ -44,8 +44,8 @@ jobs:
44
max-cache-ttl 7200
45
EOF
46
47
- # Trust the key
48
- echo -e "trust\n5\ny\nquit\n" | gpg --command-fd 0 --edit-key ${{ secrets.GPG_KEYNAME }}
+ # Trust the key (non-interactive)
+ gpg --batch --yes --trust-model always --edit-key ${{ secrets.GPG_KEYNAME }} trust quit
49
50
# Restart GPG agent
51
gpgconf --kill gpg-agent
0 commit comments