mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-11-14 09:01:16 +00:00
New .github/workflows/nightly.yml that fires daily at 09:00 UTC (plus on-demand via workflow_dispatch) and runs bin/dev/release.sh nightly to tag a fresh pre-release. Tag shape: v0.X.Y-nightly.N. Skips cleanly when HEAD is already the commit referenced by the newest v*-nightly.* tag. The job runs in the `nightly` environment, which scopes the `FABRO_RELEASES_APP_PRIVATE_KEY` secret and `FABRO_RELEASES_APP_ID` variable to just this workflow and restricts deployments to `main`. `actions/create-github-app-token` mints an installation token on the `Fabro Releases` GitHub App; that token authenticates both the checkout (so the bump commit + tag can push back to main) and any downstream git operations release.sh performs. Commits are attributed to `fabro-releases[bot]`. Pre-tag testing stays in release.sh's verify_release_tests, so a broken main fails the nightly workflow before a dud version bump commit lands. The tag push then triggers the existing release.yml, which publishes the GH prerelease and updates Formula/fabro-nightly.rb in the tap. Prerequisites (all done manually): - GitHub App `Fabro Releases` installed on fabro + homebrew-tap - `nightly` environment with the app credentials Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| workflows | ||
| zizmor.yml | ||