fix(ci): skip deploy marker workflow loops
Some checks failed
Code Review / ai-code-review (push) Has been cancelled
Some checks failed
Code Review / ai-code-review (push) Has been cancelled
This commit is contained in:
@@ -65,6 +65,10 @@ env:
|
||||
|
||||
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.
|
||||
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]') }}
|
||||
# 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.
|
||||
@@ -320,6 +324,9 @@ jobs:
|
||||
fi
|
||||
|
||||
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]') }}
|
||||
# 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]
|
||||
@@ -1245,6 +1252,9 @@ jobs:
|
||||
fi
|
||||
|
||||
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]') }}
|
||||
needs: [build-and-deploy]
|
||||
timeout-minutes: 30
|
||||
# 2026-04-30 Codex: keep post-deploy on the host runner too. Playwright
|
||||
|
||||
@@ -23,6 +23,9 @@ env:
|
||||
|
||||
jobs:
|
||||
ai-code-review:
|
||||
# 2026-06-28 Codex: deploy marker commits are generated by CD and carry
|
||||
# `[skip ci]`; skip review at job level to avoid queued runner churn.
|
||||
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]') }}
|
||||
runs-on: awoooi-ubuntu
|
||||
timeout-minutes: 8
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user