mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Merged under Skylar's explicit override (Nightly 792) after green CI, CodeRabbit on this head with no open threads, and an independent adversarial review with no blockers.
This commit is contained in:
1 parent
c5aea7e75e
commit
f0205ae336
5 files changed
+24
-13
No files matched your search
@@ -4,10 +4,10 @@
|
||||
"repository_id": 1398080271,
|
||||
"producer_workflow_id": 428462603,
|
||||
"producer_workflow_path": ".github/workflows/nightly.yml",
|
||||
"producer_tooling_revision": "88148a57ef09ef407d73c0f385e04cc7f4c2720a",
|
||||
"producer_workflow_ref": "storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@88148a57ef09ef407d73c0f385e04cc7f4c2720a",
|
||||
"producer_tooling_revision": "fc7124a1defa96813aee060031dc8b4d2afa3652",
|
||||
"producer_workflow_ref": "storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@fc7124a1defa96813aee060031dc8b4d2afa3652",
|
||||
"signer_workflow_path": ".github/workflows/nightly-sign.yml",
|
||||
"signer_tooling_revision": "88148a57ef09ef407d73c0f385e04cc7f4c2720a",
|
||||
"signer_tooling_revision": "fc7124a1defa96813aee060031dc8b4d2afa3652",
|
||||
"release_branch": "nightly-signer",
|
||||
"manual_actors": [
|
||||
"bflatastic",
|
||||
|
||||
@@ -35,9 +35,9 @@ jobs:
|
||||
checks: read
|
||||
attestations: write
|
||||
id-token: write
|
||||
uses: storytold/craft-common-actions/.github/workflows/nightly-release.yml@88148a57ef09ef407d73c0f385e04cc7f4c2720a
|
||||
uses: storytold/craft-common-actions/.github/workflows/nightly-release.yml@fc7124a1defa96813aee060031dc8b4d2afa3652
|
||||
with:
|
||||
tooling-revision: 88148a57ef09ef407d73c0f385e04cc7f4c2720a
|
||||
tooling-revision: fc7124a1defa96813aee060031dc8b4d2afa3652
|
||||
app-name: photocraft
|
||||
producer_run_id: ${{ inputs.producer_run_id }}
|
||||
producer_run_attempt: ${{ inputs.producer_run_attempt }}
|
||||
|
||||
@@ -22,12 +22,12 @@ jobs:
|
||||
actions: read
|
||||
attestations: write
|
||||
id-token: write
|
||||
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@88148a57ef09ef407d73c0f385e04cc7f4c2720a
|
||||
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@fc7124a1defa96813aee060031dc8b4d2afa3652
|
||||
with:
|
||||
tooling-revision: 88148a57ef09ef407d73c0f385e04cc7f4c2720a
|
||||
tooling-revision: fc7124a1defa96813aee060031dc8b4d2afa3652
|
||||
app-name: photocraft
|
||||
manual-actors: '["bflatastic","dylanmtaylor","echelon","FredApps","skylartaylor"]'
|
||||
craft-fonts-ref: cc9269cd8d8258785dac603fba3122e5d2556795
|
||||
# One producer run builds every listed platform for one all-or-nothing release. The pin is the
|
||||
# craft-common-actions main commit that merged the signer-branch change (#364, after #363).
|
||||
# craft-common-actions main commit that merged #370 (with #369, #367 and the signer-branch #364).
|
||||
platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'
|
||||
@@ -14,8 +14,10 @@ gh api repos/storytold/photocraft/actions/workflows/nightly.yml --jq .id
|
||||
The callers pass no platform secrets. The unsigned reusable caller's maximum OIDC/attestation
|
||||
permissions are for its isolated attester; its compiler narrows to contents and Actions read
|
||||
only, with no OIDC, attestation write, release environment or platform signing secrets.
|
||||
Shared tooling is pinned to `88148a57ef09ef407d73c0f385e04cc7f4c2720a`, the craft-common-actions
|
||||
main commit that merged [#364](https://github.com/storytold/craft-common-actions/pull/364), which
|
||||
Shared tooling is pinned to `fc7124a1defa96813aee060031dc8b4d2afa3652`, the craft-common-actions
|
||||
main commit that merged [#370](https://github.com/storytold/craft-common-actions/pull/370). It
|
||||
includes #369 (the clean-source fix and the macos-15 runner), #367 and
|
||||
[#364](https://github.com/storytold/craft-common-actions/pull/364), which
|
||||
lets the signer run on the policy's signer branch (`release` or `nightly-signer`). It includes
|
||||
[#363](https://github.com/storytold/craft-common-actions/pull/363) (the multi-app pipeline, which
|
||||
makes the signer's `app-name` input required), #339 (`605d5876`) and #342 (`a4f6fd51`).
|
||||
@@ -31,7 +33,7 @@ schedule is approved.
|
||||
**Signer branch.** The signer runs on `refs/heads/nightly-signer`, not on the stable `release`
|
||||
branch, so nightly signer files never need a stable release sync. The policy's `release_branch`
|
||||
names it, the signer's guard requires it and the dispatcher targets it. The branch only
|
||||
fast-forwards to reviewed main commits, through the settings script's `advance` (no queued signer
|
||||
fast-forwards to reviewed main commits, through `python3 scripts/nightly_signer_settings.py advance --repos photocraft --sha <main commit>`, run from a craft-common-actions checkout with PyYAML (see [`releasing.md`](releasing.md) for the exact steps; no queued signer
|
||||
run, a trust-closure scan, then the full diff of `.github/` and `packaging/`), and the existing
|
||||
`release` environment trusts it alongside `release`. Its trust closure is all of `.github/` and
|
||||
`packaging/`, including `packaging/env.sh`, which `import-cert.sh` sources with the Apple keys.
|
||||
@@ -80,7 +82,7 @@ Read on 2026-11-23, with the Sonar gate and debt re-read on 2026-11-24; re-read
|
||||
|---|---|---|
|
||||
| `repository_id` | `1398080271` | `gh api repos/storytold/photocraft --jq .id` |
|
||||
| `producer_workflow_id` | `428462603` | `gh api repos/storytold/photocraft/actions/workflows/nightly.yml` after `nightly.yml` reached main (path `.github/workflows/nightly.yml`, state `active`) |
|
||||
| `producer_tooling_revision`, `signer_tooling_revision`, `producer_workflow_ref` | `88148a57…` (craft-common-actions signer-branch change, on #363) | The callers' pin |
|
||||
| `producer_tooling_revision`, `signer_tooling_revision`, `producer_workflow_ref` | `fc7124a1…` (craft-common-actions #370, with #369, #367 and #364) | The callers' pin |
|
||||
| `manual_actors` / `automatic_signer_actors` | the five release managers / `[]` | release-managers team (id 19837241) members who can push (4 admin, FredApps write); equals the producer caller's `manual-actors` |
|
||||
| `max_age_seconds`, `max_artifact_bytes` | `86400`, `2147483648` | Go-live checklist (Linux tarball is about 126 MB) |
|
||||
| `platforms` | three rows | v0.23.1 stable identities, as in the example; the Windows publisher subject was confirmed by reading the stable v0.23.1 `photocraft.exe` Authenticode signature on Windows |
|
||||
|
||||
+10
-1
@@ -86,7 +86,16 @@ Stable releases still come only from `refs/heads/release`. The nightly signer ru
|
||||
`refs/heads/nightly-signer` instead, so signer and policy
|
||||
updates never need a stable release sync or a release-branch push. That branch is created once at
|
||||
a reviewed main commit and later only fast-forwards to main commits, by a release manager running
|
||||
the nightly-signer settings script's `advance`: it refuses while a `nightly-sign` run is queued or
|
||||
the settings script in craft-common-actions (from a checkout of that repo, with PyYAML installed):
|
||||
|
||||
```sh
|
||||
gh repo clone storytold/craft-common-actions && cd craft-common-actions
|
||||
python3 -m pip install --user pyyaml
|
||||
python3 scripts/nightly_signer_settings.py advance --repos photocraft --sha <main commit> # preview
|
||||
python3 scripts/nightly_signer_settings.py advance --repos photocraft --sha <main commit> --apply
|
||||
```
|
||||
|
||||
It refuses while a `nightly-sign` run is queued or
|
||||
running, scans the tree so only the pinned `nightly-sign.yml` caller can reach an environment, and
|
||||
prints the full diff of `.github/` and `packaging/` for review before `--apply`. That diff is the
|
||||
trust closure, including `packaging/env.sh`, which `import-cert.sh` sources with the Apple keys.
|
||||
|
||||
Reference in new issue
Block a user