From 268a413d76a2ac78d123becbbc4f638e5652e500 Mon Sep 17 00:00:00 2001 From: Tobias Kaminsky Date: Mon, 30 Nov 2026 17:43:58 +0100 Subject: [PATCH] qa: skip uploads when the signing secrets are missing Without KS_PASS the build is skipped, but Upload APK and Upload QR still ran and Upload QR failed (qr.png missing). This breaks QA on fork PRs and on new repos without the secrets (e.g. photos-android). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Nb4eMg7ShMcjycNqaRBq3z Signed-off-by: Tobias Kaminsky --- config/workflows/qa.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/workflows/qa.yml b/config/workflows/qa.yml index 0be1898..faf0446 100644 --- a/config/workflows/qa.yml +++ b/config/workflows/qa.yml @@ -73,6 +73,7 @@ jobs: - name: Upload APK id: upload-apk + if: ${{ steps.check-secrets.outputs.ok == 'true' }} uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f with: path: app/build/outputs/apk/qa/debug/*qa-debug*.apk @@ -89,6 +90,7 @@ jobs: - name: Upload QR id: upload-qr + if: ${{ steps.check-secrets.outputs.ok == 'true' }} uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f with: path: qr.png