Skip to content

Commit b5dfeac

Browse files
t3dotggclaude
andcommitted
ci(release): a repo variable pauses scheduled nightly releases
Co-Authored-By: Claude Fable 5.2 <[email protected]>
1 parent e9e934b commit b5dfeac

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ jobs:
4848
# triggering commit. Manual stable releases build the commit of the latest
4949
# published nightly, so stable only ever ships a build that nightly users
5050
# have already run. Scheduled runs also decide here whether a nightly is due.
51+
# The PAUSE_NIGHTLY repository variable skips scheduled runs only; every later
52+
# job needs this one, so a skip here skips the whole run.
5153
resolve_commit:
5254
name: Resolve release commit
53-
if: github.repository == 'pingdotgg/t3code'
55+
if: github.repository == 'pingdotgg/t3code' && (github.event_name != 'schedule' || vars.PAUSE_NIGHTLY != 'true')
5456
runs-on: blacksmith-8vcpu-ubuntu-2404
5557
timeout-minutes: 5
5658
outputs:

‎docs/operations/release.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ One-time Vercel dashboard setup:
414414
- scheduled check every 30 minutes
415415
- manual `workflow_dispatch` with `channel=nightly`
416416
- Automatic nightlies require new commits and at least six hours since the last nightly was published, including manual nightlies.
417+
- To pause automatic nightlies, run `gh variable set PAUSE_NIGHTLY -b true -R pingdotgg/t3code`. Scheduled runs then skip. Stable, preview, and manual nightly runs are unaffected. Resume with `gh variable delete PAUSE_NIGHTLY -R pingdotgg/t3code`.
417418
- Manual nightlies bypass the time and change checks. Nightly runs remain serialized. Scheduled runs wait for an active nightly to finish, then check the publication gap before building.
418419
- Runs the same desktop quality gates and artifact matrix as the tagged release flow.
419420
- Publishes a GitHub prerelease only:

0 commit comments

Comments
 (0)