Files
effectcraft/.github/workflows/nightly.yml
Dylan M. Taylorandskylartaylor 0e4b937b9b ci(nightly): enable supervised manual nightly runs
Port Skylar's (@skylartaylor) supervised manual nightly workflow and v3
signing policy from storytold/photocraft#16594 to EffectCraft:

- Add `.github/nightly-signing-policy.json` (craft-nightly-release-policy/v3)
  adapted for `storytold/effectcraft` (`repository_id: 1400136506`,
  `ci.yml` workflow `380135792`, SonarCloud `storytold_effectcraft`).
  `producer_workflow_id` is `null` until `nightly.yml` is registered on `main`.
- Add `.github/workflows/nightly.yml` and `.github/workflows/nightly-sign.yml`
  pinned to `storytold/craft-common-actions@605d58766e8f536564da8fc81d3676ac86816dea`
  for supervised manual `workflow_dispatch` runs by the release-managers list.
- Add `docs/nightly-release-preparation.md` documenting the policy values,
  ownership, and manual dispatch procedure.
- Add `packaging/nightly-release-tests.py` local contract regression suite.

Credit: @skylartaylor (storytold/photocraft#16594)

Co-authored-by: skylartaylor <[email protected]>
2026-11-24 14:14:46 -05:00

35 lines
1.5 KiB
YAML

name: EffectCraft unsigned nightly
# Enabled for supervised manual runs by the reviewed manual actors only; no schedule yet.
# A later explicit opt-in may add a cadence (and turn on nightly-dispatch.yml with it).
on:
workflow_dispatch:
permissions:
contents: read
jobs:
unsigned:
# Actual context guards only; no inherited/platform secrets.
if: >-
github.repository == 'storytold/effectcraft' &&
github.ref == 'refs/heads/main' && github.ref_type == 'branch' &&
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
# Maximum for the reusable workflow. Its compiler narrows to contents/actions read;
# no OIDC, attestation write, release environment or platform secrets in compilation.
permissions:
contents: read
actions: read
attestations: write
id-token: write
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@605d58766e8f536564da8fc81d3676ac86816dea
with:
tooling-revision: 605d58766e8f536564da8fc81d3676ac86816dea
app-name: effectcraft
manual-actors: '["bflatastic","dylanmtaylor","echelon","FredApps","skylartaylor"]'
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
# One producer run builds every listed platform for one all-or-nothing release. The pin is the
# craft-common-actions main commit that merged #339 (bounded lineage compares), on top of the
# Linux/macOS signer (#342).
platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'