From 81e3c8e37809e62c1e064d3fb73193ea42335eac Mon Sep 17 00:00:00 2001 From: Dax Date: Thu, 12 Nov 2026 23:55:32 -0500 Subject: [PATCH] chore(ci): publish dev builds every 6 hours instead of on every push (#63674) --- .github/release/plan-release.sh | 4 ++-- .github/workflows/release.yml | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/release/plan-release.sh b/.github/release/plan-release.sh index 2034f8ec458..c2a5d4a9b43 100755 --- a/.github/release/plan-release.sh +++ b/.github/release/plan-release.sh @@ -2,7 +2,7 @@ # plan-release.sh: decides version, channel and npm dist-tag from the event, ref and dispatch inputs # (INPUT_BUMP, INPUT_VERSION) only, and writes them to $GITHUB_OUTPUT. Nothing here reads repository files. # -# push or dispatch on dev -> dev 0.0.0-dev- npm tag dev, desktop +# schedule or dispatch on dev -> dev 0.0.0-dev- npm tag dev, desktop # dispatch on dev with bump/version -> latest x.y.z npm tag latest, releasers only, notes required # push or dispatch on beta -> beta 0.0.0-beta- desktop only # pull_request -> pr 0.0.0-pr- everything, dry run @@ -13,7 +13,7 @@ versioned=false if [ -n "${INPUT_BUMP:-}" ] || [ -n "${INPUT_VERSION:-}" ]; then versioned=true; fi case "$GITHUB_EVENT_NAME:$GITHUB_REF:$versioned" in - push:refs/heads/dev:false | workflow_dispatch:refs/heads/dev:false) channel="dev" ;; + schedule:refs/heads/dev:false | workflow_dispatch:refs/heads/dev:false) channel="dev" ;; workflow_dispatch:refs/heads/dev:true) channel="latest" ;; push:refs/heads/beta:false | workflow_dispatch:refs/heads/beta:false) channel="beta" ;; pull_request:*:false) channel="pr" ;; diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 615fe31cf00..924987ebb97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,9 @@ run-name: "${{ format('release {0}{1}', inputs.bump, inputs.version) }}" on: push: - branches: [dev, beta] + branches: [beta] + schedule: + - cron: "17 */6 * * *" workflow_dispatch: inputs: bump: @@ -83,8 +85,8 @@ jobs: # release.yml does not wait for the check-test push run on the same commit, so a stable release would publish # whatever that run later says. This gate runs the whole suite — unit tests on both OSes, the compiled builds and - # the Linux browser suites — before any publish job below. Continuous dev and beta builds skip it: they publish - # their own channel from a dev push, whose check-test run covers the same commit. + # the Linux browser suites — before any publish job below. Dev and beta builds skip it: check-test already + # runs on pushes to those branches. verify: needs: plan if: needs.plan.outputs.channel == 'latest'