From 27c1ac8765ded6f1481100e4da434a8af3d5b979 Mon Sep 17 00:00:00 2001 From: iakadion Date: Fri, 20 Nov 2026 07:34:10 +0000 Subject: [PATCH] fix: the family mobile signing gate answers the workflow_run firing whole (the ci-test-key symmetry law) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The containers run #64 (the workflow_run completion of the release ladder) reddened its family mobile lanes: the signing gate demanded the manual-build production secrets — the elif branch read the release event and the dispatch-only inputs.allow_test_signing, and the automated workflow_run firing carries neither, so the lane exited 'Manual Android builds require production signing secrets or allow_test_signing=true.' The devthink mobile lane already carries the workflow_run condition (the symmetry seat); the family lane now answers the same law — the automated firing walks the ci-test-key seat exactly like the release event. --- .github/workflows/containers.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index e2412869..b4d4456c 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -4490,7 +4490,13 @@ jobs: printf 'keyPassword=%s\n' "$ANDROID_KEY_PASSWORD" } > "${{ matrix.app }}/android/keystore.properties" echo "FAMILY_SIGNING=caller-owned" >> "$GITHUB_ENV" - elif [ "${{ github.event_name }}" = "release" ] || [ "${{ inputs.allow_test_signing }}" = "true" ]; then + # the automated workflow_run firing (the release ladder + # completion the dual trigger carries) walks the ci-test-key seat + # exactly like the release event — the devthink mobile lane below + # already carries the condition; the family lane answers the + # same law (an automated firing never demands the manual-build + # signing secrets). + elif [ "${{ github.event_name }}" = "release" ] || [ "${{ github.event_name }}" = "workflow_run" ] || [ "${{ inputs.allow_test_signing }}" = "true" ]; then keytool -genkeypair -v -keystore "$RUNNER_TEMP/family-test.jks" -storepass changeit -keypass changeit -alias family-test -keyalg RSA -keysize 2048 -validity 10000 -dname "CN=Family CI Test,O=DevThink Family,C=US" { printf 'storeFile=%s\n' "$RUNNER_TEMP/family-test.jks"