>:| still not working

This commit is contained in:
Mitsuba100
2026-03-23 16:05:25 +01:00
parent c30c74d9af
commit b900ec3222

View File

@@ -25,9 +25,8 @@ jobs:
echo "ERROR: GPG_PRIVATE_KEY secret is empty!" echo "ERROR: GPG_PRIVATE_KEY secret is empty!"
exit 1 exit 1
fi fi
# Import and set trust to avoid prompt errors # Import the key. We skip ownertrust to avoid fingerprint syntax errors.
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import --batch --yes echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import --batch --yes
echo "236328A7F2C2001E:6:" | gpg --import-ownertrust --batch
- name: Update Repository Database - name: Update Repository Database
run: | run: |
@@ -36,8 +35,8 @@ jobs:
mkdir -p db_temp mkdir -p db_temp
# GPG Arguments to prevent 'Inappropriate ioctl' # GPG Arguments: batch mode + loopback pinentry to avoid 'ioctl' errors.
# We force loopback pinentry so it doesn't look for a real keyboard/screen # If your key has a password, add --passphrase "${{ secrets.GPG_PASSPHRASE }}" to the line below.
GPG_OPTS="--batch --yes --pinentry-mode loopback --local-user 236328A7F2C2001E" GPG_OPTS="--batch --yes --pinentry-mode loopback --local-user 236328A7F2C2001E"
for pkg in *.pkg.tar.zst; do for pkg in *.pkg.tar.zst; do
@@ -143,7 +142,7 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add . git add .
if ! git diff-index --quiet HEAD; then if ! git diff-index --quiet HEAD; then
git commit -m "Fix GPG ioctl error and rebuild signed DB" git commit -m "Fix GPG trust error and finalize signed repo"
git push git push
else else
echo "Nothing to change." echo "Nothing to change."