mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
36 lines
1.4 KiB
YAML
36 lines
1.4 KiB
YAML
name: PhotoCraft unsigned nightly
|
|
|
|
# Automated scheduled nightly builds at 05:00 UTC plus manual runs by the reviewed manual actors.
|
|
on:
|
|
schedule:
|
|
- cron: '0 5 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
unsigned:
|
|
# Actual context guards only; no inherited/platform secrets.
|
|
if: >-
|
|
github.repository == 'storytold/photocraft' &&
|
|
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@main
|
|
with:
|
|
tooling-revision: main
|
|
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 #371 (built-commit Sonar admission), on #370.
|
|
platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'
|
|
linux-package-formats: '["deb","rpm","appimage","flatpak","oci","arch"]'
|