fix(ci): match cancel-stale-cd guard without brackets
This commit is contained in:
@@ -48,9 +48,9 @@ jobs:
|
||||
tests:
|
||||
# 2026-06-28 Codex: Gitea does not consistently short-circuit `[skip ci]`
|
||||
# on CD-generated deploy commits. Skip jobs explicitly so marker commits
|
||||
# do not trigger a self-feeding CD loop; `[cancel-stale-cd]` is a
|
||||
# do not trigger a self-feeding CD loop; `cancel-stale-cd` is a
|
||||
# controlled no-op trigger used only to cancel stale pre-guard runs.
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[cancel-stale-cd]')) }}
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, 'cancel-stale-cd')) }}
|
||||
# 2026-04-30 Codex: run the tests job on the host runner and launch the
|
||||
# CI image explicitly. The act-managed job container can disappear mid-test
|
||||
# with Docker RWLayer=nil on the shared 110 daemon.
|
||||
@@ -308,7 +308,7 @@ jobs:
|
||||
build-and-deploy:
|
||||
# 2026-06-28 Codex: keep CD-generated `[skip ci]` deploy commits from
|
||||
# re-entering build/deploy and writing another deploy marker commit.
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[cancel-stale-cd]')) }}
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, 'cancel-stale-cd')) }}
|
||||
# 2026-04-30 Codex: Docker builds run on the host runner. Long docker build
|
||||
# steps were killing the transient act job container with RWLayer=nil.
|
||||
needs: [tests]
|
||||
@@ -1236,7 +1236,7 @@ jobs:
|
||||
post-deploy-checks:
|
||||
# 2026-06-28 Codex: post-deploy checks belong to real deploy runs; skip
|
||||
# CD-generated marker commits already read back by the prior deploy run.
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[cancel-stale-cd]')) }}
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, 'cancel-stale-cd')) }}
|
||||
needs: [build-and-deploy]
|
||||
timeout-minutes: 30
|
||||
# 2026-04-30 Codex: keep post-deploy on the host runner too. Playwright
|
||||
|
||||
@@ -17,9 +17,9 @@ env:
|
||||
jobs:
|
||||
ai-code-review:
|
||||
# 2026-06-28 Codex: deploy marker commits are generated by CD and carry
|
||||
# `[skip ci]`; `[cancel-stale-cd]` is a controlled no-op trigger. Skip both
|
||||
# `[skip ci]`; `cancel-stale-cd` is a controlled no-op trigger. Skip both
|
||||
# at job level to avoid queued runner churn.
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[cancel-stale-cd]')) }}
|
||||
if: ${{ github.event_name != 'push' || (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, 'cancel-stale-cd')) }}
|
||||
runs-on: awoooi-ubuntu
|
||||
timeout-minutes: 8
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user