fix(cic): re-record development pair and tighten python-release spec assertion

Address PR #2875 review:

- Re-record python/development.i18n.yaml (corpus verify-translation-pairing was
  out of sync after editing development.md/zh.md) and the 2026-08-11
  python-publication-workflow pair after the dry-run wording tweak.
- Tighten the python-release spec assertion to the exact event set
  (['workflow_dispatch']) instead of not.toHaveProperty('pull_request').
- Fix the 'dry-run run' wording in development.md and the note.

Corpus-wide verify-translation-pairing (1001 pairs) and note-format (594) pass;
ci-workflow.spec.ts 14/14.
This commit is contained in:
Chinesezjc
2026-08-21 11:53:50 +08:00
parent cb5b762922
commit 374f3cdb07
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ describe('Python release workflows', () => {
}
expect(dispatch.inputs.publish).toMatchObject({ type: 'boolean', default: false })
expect(workflow.on).not.toHaveProperty('pull_request')
expect(Object.keys(workflow.on)).toEqual(['workflow_dispatch'])
expect(build).toMatchObject({
if: "github.event_name == 'workflow_dispatch'",
uses: './.github/workflows/build-exe-for-python-sdk.yml',