fix(ci): add no-op stale cd cancellation job
This commit is contained in:
@@ -45,6 +45,18 @@ env:
|
||||
ALERT_CHAIN_API_URL: https://awoooi.wooo.work
|
||||
|
||||
jobs:
|
||||
cancel-stale-cd:
|
||||
# 2026-06-28 Codex: keep a visible no-op run for controlled queue
|
||||
# cancellation. If every job is skipped, Gitea may not create a run and
|
||||
# the stale pre-guard CD queue is not superseded by concurrency.
|
||||
if: ${{ github.event_name == 'push' && contains(github.event.head_commit.message, 'cancel-stale-cd') }}
|
||||
runs-on: awoooi-host
|
||||
timeout-minutes: 3
|
||||
steps:
|
||||
- name: Confirm Stale CD Queue Cancellation
|
||||
run: |
|
||||
echo "cancel-stale-cd marker accepted; deploy jobs are intentionally skipped."
|
||||
|
||||
tests:
|
||||
# 2026-06-28 Codex: Gitea does not consistently short-circuit `[skip ci]`
|
||||
# on CD-generated deploy commits. Skip jobs explicitly so marker commits
|
||||
|
||||
Reference in New Issue
Block a user