Skip to content

Commit 7c04c20

Browse files
Copilotdevakesu
andcommitted
fix: remove conflicting GPG configuration that breaks passphrase handling
- Remove custom GPG configuration step that was interfering with action - The crazy-max/ghaction-import-gpg action handles all GPG setup automatically - Remove GPG_TTY environment variable (not needed) - Let the action configure GPG agent with proper pinentry mode Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
1 parent 46afad5 commit 7c04c20

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

.github/workflows/auto-version-bump.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -68,26 +68,6 @@ jobs:
6868
git_committer_name: ${{ secrets.GPG_COMMITTER_NAME || 'GhostClass Bot' }}
6969
git_committer_email: ${{ secrets.GPG_COMMITTER_EMAIL || '61821107+devakesu@users.noreply.github.com' }}
7070

71-
- name: Configure GPG for non-interactive use
72-
if: steps.repo-check.outputs.is_same_repo == 'true'
73-
run: |
74-
# Configure GPG to work in non-interactive mode (no TTY)
75-
mkdir -p ~/.gnupg
76-
chmod 700 ~/.gnupg
77-
78-
# Configure GPG agent for loopback pinentry
79-
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
80-
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
81-
82-
# Disable TTY for GPG
83-
echo "no-tty" >> ~/.gnupg/gpg.conf
84-
85-
# Reload GPG agent
86-
gpg-connect-agent reloadagent /bye || true
87-
88-
# Test GPG configuration
89-
echo "GPG configuration applied"
90-
9171
- name: Setup Node.js
9272
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
9373
with:
@@ -154,9 +134,6 @@ jobs:
154134
- name: Auto bump version (same-repo only)
155135
if: steps.repo-check.outputs.is_same_repo == 'true' && steps.check.outputs.needs_bump == 'true'
156136
id: bump
157-
env:
158-
# Prevent GPG from trying to access /dev/tty
159-
GPG_TTY: ""
160137
run: |
161138
set -euo pipefail
162139

0 commit comments

Comments
 (0)