Add scheduled launch-day auto-merge for the book announcement#1892
Open
benbalter wants to merge 1 commit into
Open
Add scheduled launch-day auto-merge for the book announcement#1892benbalter wants to merge 1 commit into
benbalter wants to merge 1 commit into
Conversation
A date-gated workflow that, on 2026-07-21, merges the Open & Async launch PR (#1891) — making the post live and flipping the site's book callouts to "buy now" — but only if the PR is open + mergeable, CI is green, and open-and-async.com is actually in buy-now mode. Otherwise it opens a "Launch hold" issue instead of merging. Must be merged to main to arm the cron (scheduled workflows only fire from the default branch). Uses LAUNCH_PAT if set so the merge triggers the normal deploy → email → standard.site chain; otherwise falls back to GITHUB_TOKEN and dispatches the deploy explicitly. Manual runs default to a dry run for safe testing. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
benbalter-github-com | 31b5731 | Jun 21 2026, 08:39 PM |
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.
Schedules the launch-day merge of the Open & Async announcement PR (#1891), per request to "schedule task to merge on launch day." The cloud-routine scheduler (
/schedule) was unavailable, so this does it natively in GitHub Actions.What it does
On 2026-07-21 (~10am ET) it merges #1891 — making the launch post live and flipping every site book callout to "buy now" — but only if all gates pass:
open-and-async.comis actually in buy-now mode (price / buy / pre-order signal)If any gate fails, it opens (or comments on) a "Launch hold" issue instead of merging. It never merges into a half-ready launch.
mainto arm it. Scheduled workflows only fire from the default branch — it can't live only on the PR it merges. (It does not merge Add launch-day post announcing Open and Async #1891 until July 21.)LAUNCH_PATrepo secret (a PAT withreposcope). The deploy → email-broadcast → standard.site chain runs off the push to main, whichGITHUB_TOKENcan't trigger (GitHub's recursion guard). WithLAUNCH_PATthe launch behaves exactly like a human merge — including emailing subscribers. Without it, the post still deploys (the job dispatches the deploy explicitly), but the email broadcast + standard.site sync must be run manually.Testing
Trigger manually anytime via Run workflow — defaults to a dry run (evaluates gates, merges nothing). Set
dry_run: falseto merge;force: trueto skip the book-site check.Validated with
actionlint(clean).🤖 Generated with Claude Code