fix(ci): keep warning-step workflow parseable
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 21s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-30 00:24:51 +08:00
parent 594b437dd9
commit ff44598b58
3 changed files with 24 additions and 2 deletions

View File

@@ -271,6 +271,8 @@ def test_warning_step_template_copy_is_fail_closed_and_pressure_guarded():
assert forbidden not in workflow
assert "workflow_dispatch:" in workflow
assert "workflow-shape:" in workflow
assert "Confirm fail-closed warning-step workflow shape" in workflow
assert "runs-on: awoooi-non110-host" in workflow
assert 'AWOOOI_ONBOARDING_WARNING_STEP_EXECUTION_ENABLED: "0"' in workflow
assert "ops/runner/guard-gitea-runner-pressure.py --root ." in workflow