fix /dev/tty deficit
This commit is contained in:
@@ -26,7 +26,8 @@ jobs:
|
|||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.CI_BOT_GPG_PRIVATE_KEY }}" | gpg --import --batch --yes
|
echo "${{ secrets.CI_BOT_GPG_PRIVATE_KEY }}" | gpg --import --batch --yes
|
||||||
echo -e "5\ny\n" | gpg --command-fd 0 --edit-key $GPG_KEY_ID trust
|
# set trust non-interactively
|
||||||
|
echo "$GPG_KEY_ID:5:" | gpg --import-ownertrust
|
||||||
git config --global user.signingkey $GPG_KEY_ID
|
git config --global user.signingkey $GPG_KEY_ID
|
||||||
git config --global commit.gpgSign true
|
git config --global commit.gpgSign true
|
||||||
git config --global tag.gpgSign true
|
git config --global tag.gpgSign true
|
||||||
|
|||||||
Reference in New Issue
Block a user