ci: skip the development image for release commits #22

Merged
fristyagent merged 1 commits from ci/dev-image-release-guard into main 2026-11-17 17:10:41 +03:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 936715f993 - Show all commits

No files matched your search

+2 -1
View File
@@ -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
+2
View File
@@ -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