Compare commits

...
Author SHA1 Message Date
skylartaylor 7a685125d0 nightly: re-pin the callers and policy to craft-common-actions 6bde9f8b
Nightly 994 / App Leads 432 routine repin: seven literal pin substitutions across three files, no other change. Verified before applying — the patch SHA256 matched, the public head was 05c5463e, and gridcraft main was still 59f6b6c1, the commit the shared merge was built on.
2026-11-26 22:12:43 +01:00
skylartaylor 05c5463efb nightly: forward the thirteen signing secrets the sign steps actually read
The caller forwarded fifteen: the thirteen environment names plus the optional Windows PFX pair. The PFX
pair is optional at runtime (the signer accepts the six AZURE_* values when it is absent), and no app's
release environment holds it, so forwarding it does nothing. It also puts the caller outside the
reviewed set: the settings closure derives its allowlist from the app's targets, which is thirteen for a
Linux/macOS/Windows app, and refuses an extra name.

This forwards exactly the thirteen and trims the app's own SIGNER_SECRETS allowlist to match. The callee
keeps declaring all fifteen, since extra declarations are harmless and it only checks for missing ones.
2026-11-26 16:57:42 +01:00
4 changed files with 8 additions and 11 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
"repository_id": 1408285582,
"producer_workflow_id": 429713469,
"producer_workflow_path": ".github/workflows/nightly.yml",
"producer_tooling_revision": "3dee18226ed28134896f69fb8b280fff9247ec7f",
"producer_workflow_ref": "storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@3dee18226ed28134896f69fb8b280fff9247ec7f",
"producer_tooling_revision": "6bde9f8b9ba76635d00f6369d58313d1269b4191",
"producer_workflow_ref": "storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@6bde9f8b9ba76635d00f6369d58313d1269b4191",
"signer_workflow_path": ".github/workflows/nightly-sign.yml",
"signer_tooling_revision": "3dee18226ed28134896f69fb8b280fff9247ec7f",
"signer_tooling_revision": "6bde9f8b9ba76635d00f6369d58313d1269b4191",
"release_branch": "nightly-signer",
"manual_actors": [
"bflatastic",
+2 -4
View File
@@ -34,9 +34,9 @@ jobs:
checks: read
attestations: write
id-token: write
uses: storytold/craft-common-actions/.github/workflows/nightly-release.yml@3dee18226ed28134896f69fb8b280fff9247ec7f
uses: storytold/craft-common-actions/.github/workflows/nightly-release.yml@6bde9f8b9ba76635d00f6369d58313d1269b4191
with:
tooling-revision: 3dee18226ed28134896f69fb8b280fff9247ec7f
tooling-revision: 6bde9f8b9ba76635d00f6369d58313d1269b4191
app-name: gridcraft
producer_run_id: ${{ inputs.producer_run_id }}
producer_run_attempt: ${{ inputs.producer_run_attempt }}
@@ -50,8 +50,6 @@ jobs:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
WINDOWS_CERTIFICATE: ${{ secrets.WINDOWS_CERTIFICATE }}
WINDOWS_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
+2 -2
View File
@@ -22,9 +22,9 @@ jobs:
actions: read
attestations: write
id-token: write
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@3dee18226ed28134896f69fb8b280fff9247ec7f
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@6bde9f8b9ba76635d00f6369d58313d1269b4191
with:
tooling-revision: 3dee18226ed28134896f69fb8b280fff9247ec7f
tooling-revision: 6bde9f8b9ba76635d00f6369d58313d1269b4191
app-name: gridcraft
manual-actors: '["bflatastic","dylanmtaylor","echelon","FredApps","skylartaylor"]'
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
+1 -2
View File
@@ -13,8 +13,7 @@ ROOT = Path(__file__).resolve().parents[1]
# Exactly the secrets the nightly sign steps read; the signer caller may forward these and no others.
SIGNER_SECRETS = {
"LINUX_SIGNING_KEY", "APPLE_CERTIFICATE", "APPLE_CERTIFICATE_PASSWORD", "KEYCHAIN_PASSWORD",
"APPLE_ID", "APPLE_PASSWORD", "APPLE_TEAM_ID", "WINDOWS_CERTIFICATE",
"WINDOWS_CERTIFICATE_PASSWORD", "AZURE_TENANT_ID", "AZURE_CLIENT_ID", "AZURE_CLIENT_SECRET",
"APPLE_ID", "APPLE_PASSWORD", "APPLE_TEAM_ID", "AZURE_TENANT_ID", "AZURE_CLIENT_ID", "AZURE_CLIENT_SECRET",
"AZURE_SIGNING_ENDPOINT", "AZURE_SIGNING_ACCOUNT", "AZURE_CERT_PROFILE",
}
INSTALLED_POLICY = ROOT / ".github/nightly-signing-policy.json"