feat(ci): automate upstream stable release PRs - #162
Merged
Merged
Conversation
The daily schedule now detects new upstream Ghostty stable tags and, when found, creates a release/<version> branch that bumps VERSION, pushes a v<version> tag, and opens a PR to main. Detection lives in bin/check-upstream-release.sh so it can be run and tested locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the existing daily schedule in
ci.yamlwith acreate_release_prjob that automates the manual stable-release flow.When a new upstream Ghostty stable tag is found:
release/<version>branchVERSIONto the upstream release versionv<version>git tagmainDetection is extracted into
bin/check-upstream-release.sh(runnable/testable locally) so the workflow only orchestrates.How detection works
ghostty-org/ghostty(filters^vX.Y.Z$, stripsv)release.files.ghostty.org/<ver>/ghostty-<ver>.tar.gz(tags can precede published artifacts)VERSION(handles existing+Npatch tags viasort -V)Notes
main, reusing the existing cron.pull-requests: writeto this job;VERSION-only PRs are alreadypaths-ignored.VERSION=1.3.1matches upstreamv1.3.1.actionlint,zizmor,shellcheck,shfmt(pre-commit) and manual runs of the script.