Skip to content

Commit 2d6ec4c

Browse files
committed
cleanup
1 parent 4d33e6d commit 2d6ec4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/automate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
4646
# Cleanup imported keys (optional, for security)
4747
- name: Cleanup GPG Keys
48-
run: gpg --batch --delete-secret-keys --yes $(gpg --list-secret-keys --with-colons | grep '^sec' | cut -d':' -f5)
48+
run: |
49+
key_fingerprint=$(gpg --list-secret-keys --with-colons | grep '^sec' | cut -d':' -f5)
50+
gpg --batch --delete-secret-keys --yes "$key_fingerprint"
4951
5052
# Run SVN Steps
5153
- name: Perform SVN Operations

0 commit comments

Comments
 (0)