From 936715f9937dfa0eac41cc3552272d818840af4d Mon Sep 17 00:00:00 2001 From: fristyxd Date: Tue, 17 Nov 2026 16:58:05 +0300 Subject: [PATCH] ci: skip the development image for release commits The guard matched a 'Release ' prefix that no commit uses any more, so every release rebuilt the development image. Match the (release) scope, which covers the release commit and its merge commit. --- .gitea/workflows/dev-image.yml | 3 ++- CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/dev-image.yml b/.gitea/workflows/dev-image.yml index 5f114f3..5bd1632 100644 --- a/.gitea/workflows/dev-image.yml +++ b/.gitea/workflows/dev-image.yml @@ -19,7 +19,8 @@ jobs: permissions: contents: read packages: write - if: "!startsWith(github.event.head_commit.message, 'Release ')" + # Releases reach main as a merge commit of the chore(release) branch, so match the scope. + if: "!contains(github.event.head_commit.message, '(release)')" steps: - uses: actions/checkout@v7 diff --git a/CHANGELOG.md b/CHANGELOG.md index f46657e..72b1f89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/ checks the x86-64 build in a job of its own, so the cross-compile no longer rebuilds from scratch on every run. The Windows check stops uploading `cli/target` to the cache, which cost more time than the check itself. +- The development image is skipped for releases again: the guard looked for a `Release ` prefix, + while releases reach `main` as `chore(release): X.Y.Z` commits and their merge commits. ### Fixed