2 Commits
Author SHA1 Message Date
fristyagent cea885454e Merge pull request 'ci: skip the development image for release commits' (#22) from ci/dev-image-release-guard into main
CI / Docker image (push) Successful in 16s
CI / CLI (push) Successful in 16s
CI / Server (push) Successful in 25s
Development image / Development image (push) Successful in 22s
CI / CLI (linux-arm64, static) (push) Successful in 47s
CI / CLI (windows) (push) Successful in 1m13s
CI / CLI (linux-x86-64, static) (push) Successful in 59s
2026-11-17 17:10:41 +03:00
fristy 936715f993 ci: skip the development image for release commits
CI / Server (pull_request) Successful in 26s
CI / Docker image (pull_request) Successful in 13s
CI / CLI (windows) (pull_request) Successful in 1m15s
CI / CLI (pull_request) Successful in 16s
CI / CLI (linux-arm64, static) (pull_request) Successful in 52s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 3m43s
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.
2026-11-17 16:58:05 +03:00
2 changed files with 4 additions and 1 deletions

No files matched your search

+2 -1
View File
@@ -19,7 +19,8 @@ jobs:
permissions: permissions:
contents: read contents: read
packages: write 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: steps:
- uses: actions/checkout@v7 - 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 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 on every run. The Windows check stops uploading `cli/target` to the cache, which cost more time
than the check itself. 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 ### Fixed