ci: skip the development image for release commits
CI / CLI (pull_request) Successful in 16s
CI / Server (pull_request) Successful in 26s
CI / Docker image (pull_request) Successful in 13s
CI / CLI (linux-arm64, static) (pull_request) Successful in 52s
CI / CLI (windows) (pull_request) Successful in 1m15s
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.
This commit is contained in:
fristy committed 2026-11-17 16:58:05 +03:00
1 parent 67c3f3b484
commit 936715f993
2 files changed
+4 -1

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