mirror of
https://github.com/storytold/gridcraft.git
synced 2026-12-01 10:14:21 -06:00
The first real signer run (gridcraft 45777141713) passed validate and then every sign job refused:
"LINUX_SIGNING_KEY required", "all six Apple signing/notarization secrets required", "complete Windows
PFX pair or six Azure values required". The cause is structural rather than a settings gap: a reusable
workflow sees only the secrets its caller passes, and the caller cannot obtain environment secrets
because GitHub does not allow `environment:` on a job that calls a reusable workflow ("only name, uses,
with, secrets, needs, if and permissions are allowed"). The release environment's secrets therefore
cannot reach the sign steps by any route we have, which is why stable's caller forwards all of them
explicitly from org-level secrets.
This forwards exactly the fifteen the sign steps read, named, never `inherit`, and relaxes one
trust-closure assertion from "no secrets at all" to "exactly this allowlist" for the signer caller only;
the producer caller is unchanged and still forwards nothing. Behavior is unchanged until the shared
callee declares them (#376), which `uses:` must then pin to.
Open as a DRAFT; do not dispatch. It needs Skylar's yes because it widens a reviewed signing contract,
and it needs the secrets to exist at org or repo level, which the probe showed they do not for this repo.