From e92ce23e4c4b06aa02eec82a8e93fcc769d7d93f Mon Sep 17 00:00:00 2001 From: JJ Eaton <58495321+jayleaton@users.noreply.github.com> Date: Sat, 24 Oct 2026 14:07:54 +0700 Subject: [PATCH] ci: only main pushes start the fork nightly Pushes to any branch started a fork nightly run. Its jobs skipped, but the run still took the single pending slot of the fork-nightly-release concurrency group, so every PR-branch push cancelled main's queued nightly. On 2026-10-24 the nightly carrying #123/#125/#126 was cancelled twice this way. Trigger on pushes to main only; workflow_dispatch still works for other refs. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/fork-nightly-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fork-nightly-release.yml b/.github/workflows/fork-nightly-release.yml index dc02d4508843..713fe0c2e6e6 100644 --- a/.github/workflows/fork-nightly-release.yml +++ b/.github/workflows/fork-nightly-release.yml @@ -1,8 +1,11 @@ name: Fork nightly release on: + # Only the release branch publishes. Pushes to other branches used to start runs that + # skipped every job but still took the single pending slot of the concurrency group, + # cancelling main's queued nightly (2026-10-24). push: - branches: ["**"] + branches: [main] workflow_dispatch: permissions: