Skip to content

Let GitHub finish a release: hourly installer re-pin and release - #18

Merged
kalfasyan merged 1 commit into
mainfrom
claude/project-thread-0ohzof
Nov 5, 2026
Merged

kalfasyan merged 1 commit into
mainfrom
claude/project-thread-0ohzof

Conversation

@kalfasyan

Copy link
Copy Markdown
Contributor

Requested by Yannis · project thread

scripts/release-apps.sh made you keep a terminal open while the image builds ran. Now it creates the app releases and exits, and GitHub does the rest.

  • release.yml now also runs every hour, and can still be started by hand. It runs pin-apps.sh. If an app has a newer release, it checks that the release's CI run (the signed image build) succeeded:
    • still building: it does nothing and tries again next hour;
    • failed: the run fails with an error naming the app, so you get GitHub's failure email;
    • succeeded: it commits the new pins to main, then starts a fresh release.yml run on that commit, which publishes the next installer patch release. A fresh run is used so the attestation names the commit that holds the pins (workflow_dispatch is the one event GITHUB_TOKEN may start).
  • Starting it by hand works as before: gh workflow run release.yml --repo selfhostit/docs [-f version=vX.Y.Z]. With no version it picks the next patch.
  • release-apps.sh no longer waits on builds, opens PRs or releases the installer, and it doesn't need a clean docs clone any more.
  • In security.md, the line on how pins get updated now matches.

Tested: shellcheck and actionlint pass. I ran the build-status check locally against a stubbed gh for success, still building and failure, and each got the right outcome. The scheduled run itself will first run for real on today's six releases after this is merged.


Generated by Claude Code

… hourly workflow

release-apps.sh now returns as soon as the app releases exist. release.yml runs every
hour; when an app has a newer release whose image build succeeded, it commits the new
pins to main and starts a release run on that commit.
@kalfasyan kalfasyan self-assigned this Nov 5, 2026
@kalfasyan
kalfasyan merged commit f7df13d into main Nov 5, 2026
2 checks passed
@kalfasyan
kalfasyan deleted the claude/project-thread-0ohzof branch November 5, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants