From 1801eaa40ccda72aa70644bc76a053cd001933df Mon Sep 17 00:00:00 2001 From: ThePhaseless Date: Sun, 9 Aug 2026 19:58:48 +0200 Subject: [PATCH] fix(ci): scope push trigger to main to avoid duplicate runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit push: branches: ["*"] matched feature branches, so every push to a branch with an open PR fired both a 'push' and a 'pull_request' event. Their concurrency groups differ (refs/heads/ vs refs/pull//merge), so cancel-in-progress could not dedup them — the full multi-arch build ran twice on each push, doubling CI minutes. Scope push to branches: ["main"]; pull_request remains the validator for feature branches. Tag pushes (v*.*.*), schedule, and workflow_dispatch are under separate filters and are unaffected. --- .github/workflows/docker-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 4a68e0b..8ad744f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -9,7 +9,7 @@ on: schedule: - cron: "25 0 * * *" push: - branches: ["*"] + branches: ["main"] # Publish semver tags as releases. tags: ["v*.*.*"] paths: