From 483ca36e45b71d6b7fb8906df04a05e4634ac070 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 11 Oct 2026 02:02:56 -0400 Subject: [PATCH] CI: run FreeBSD and Windows ARM64 checks nightly and on release, not per PR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They ran on every push to main and on any PR touching Cargo.toml/Cargo.lock, which is nearly every PR. See craftrules release/playbook.md ยง2. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/freebsd.yml | 7 +++++-- .github/workflows/windows-arm64.yml | 10 ++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 868fccf..cafaeeb 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -4,11 +4,14 @@ # fail a release. Nothing is uploaded and no secrets are used. name: FreeBSD -# The VM build is slow, so it runs nightly on main rather than on every push: a drifted -# dependency still shows up within a day. PRs that change the FreeBSD packaging still run it. +# The VM build is slow, so it runs nightly on main and on pushes to `release`, not on every push +# or dependency change: a drifted dependency still shows up within a day, and always before a +# release ships. PRs that change the FreeBSD packaging itself still run it. on: schedule: - cron: "23 2 * * *" + push: + branches: [release] pull_request: paths: - .github/workflows/freebsd.yml diff --git a/.github/workflows/windows-arm64.yml b/.github/workflows/windows-arm64.yml index b4b0007..d857012 100644 --- a/.github/workflows/windows-arm64.yml +++ b/.github/workflows/windows-arm64.yml @@ -5,15 +5,17 @@ # everything. The launcher is a GUI app, so it isn't run here. name: Windows ARM64 -# Nightly on main (dependency and runner-image drift shows up within a day), and on PRs that -# change the Windows packaging itself. +# Nightly on main and on pushes to `release` (dependency and runner-image drift shows up within a +# day, and always before a release ships), and on PRs that change the Windows packaging itself. on: + schedule: + - cron: "47 4 * * *" + push: + branches: [release] pull_request: paths: - .github/workflows/windows-arm64.yml - packaging/windows/** - schedule: - - cron: "47 4 * * *" workflow_dispatch: concurrency: