mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-30 12:14:36 -05:00
The four package pipelines (deb/rpm, amd64/aarch64) triggered on every push to master. With the current PR merge volume that was dozens of full build-sign-publish runs a day for what is often an identical tree. Switch the package builds to: - a single nightly run off master (staggered 06:00-07:30 UTC), which deploys to the existing master/dev repo path exactly as a master push did; - a build on a release tag (1.x.y), which was already coded for (the do_debian_package.sh -r=<tag> path and the release-<version> deploy target) but never actually triggered; - workflow_dispatch for a manual build. master no longer triggers these; release-1.38 still builds on push (low-churn stable backports). A `gate` job skips a scheduled run when no commits landed in the last 24h, so an unchanged tree is not rebuilt and republished. The deb workflows fetched do_debian_package.sh from refs/heads/<ref>, which 404s for a tag; pick refs/tags or refs/heads by the ref namespace so tag builds work. The lighter CI checks (build-werror, cpp-tests, eslint, js-tests, homoglyphs, macos, pinned-actions) still run per push and PR and are unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>