Skip to content

Commit 167f684

Browse files
committed
fix(ci): scope locale advisory handling to parity check
1 parent 4d09284 commit 167f684

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,10 +1301,6 @@ jobs:
13011301
name: control-ui-i18n
13021302
needs: [preflight]
13031303
if: needs.preflight.outputs.run_control_ui_i18n == 'true'
1304-
# Source PR drift stays advisory because the post-merge bot owns repair,
1305-
# including when prepare dispatches the PR-targeted release gate.
1306-
# Generated locale changes and full release CI remain strict via preflight.
1307-
continue-on-error: ${{ needs.preflight.outputs.strict_control_ui_i18n != 'true' }}
13081304
runs-on: ${{ github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'openclaw/openclaw') && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
13091305
timeout-minutes: 10
13101306
steps:
@@ -1321,6 +1317,9 @@ jobs:
13211317
use-actions-cache: ${{ github.event_name != 'workflow_dispatch' && github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'openclaw/openclaw') && 'false' || 'true' }}
13221318

13231319
- name: Check Control UI locale parity
1320+
# Source-only drift stays advisory because the post-merge bot owns
1321+
# repair. Generated locale changes and full release CI remain strict.
1322+
continue-on-error: ${{ needs.preflight.outputs.strict_control_ui_i18n != 'true' }}
13241323
run: pnpm ui:i18n:check
13251324

13261325
checks-fast-core:

test/scripts/ci-workflow-guards.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3655,7 +3655,8 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
36553655
);
36563656
expect(localeJob.needs).toEqual(["preflight"]);
36573657
expect(localeJob.if).toBe("needs.preflight.outputs.run_control_ui_i18n == 'true'");
3658-
expect(localeJob["continue-on-error"]).toBe(
3658+
expect(localeJob["continue-on-error"]).toBeUndefined();
3659+
expect(localeStep["continue-on-error"]).toBe(
36593660
"${{ needs.preflight.outputs.strict_control_ui_i18n != 'true' }}",
36603661
);
36613662
expect(localeStep.run).toBe("pnpm ui:i18n:check");

0 commit comments

Comments
 (0)