From 6bcd255e85a55c2afa6c015fce4f2e56493315cb Mon Sep 17 00:00:00 2001 From: xiaoxia-agent Date: Wed, 16 Sep 2026 15:21:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8D=20ci-pipeline.yml?= =?UTF-8?q?=20=E8=A7=A6=E5=8F=91=E5=99=A8=E8=A2=AB=E8=AF=AF=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20'true:'=20=E5=AF=BC=E8=87=B4=20push=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E4=B8=8D=E8=A7=A6=E5=8F=91=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit YAML 1.1 把未加引号的 on 解析为布尔 true,之前用 PyYAML dump/字符串替换时 意外把顶层 'on:' 写成了 'true:',导致 push 到 develop 后 CI 完全不触发, staging 一直停留在旧版本 410487fe。恢复原始的 on: 结构和 tags/schedule 格式(参照 410487fe 最后可用版本)。 --- .gitea/workflows/ci-pipeline.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index e8d1d0ce5..af573815b 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -1,23 +1,23 @@ name: CI/CD Pipeline -true: +on: push: branches: - main - develop tags: - - "v*" + - v* pull_request: branches: - main - develop schedule: - - cron: "0 19 * * *" + - cron: '0 19 * * *' # UTC 19:00 = 北京时间凌晨3:00,每日全量CI回归 workflow_dispatch: inputs: reason: - description: 触发原因 + description: "触发原因" required: false - default: 手动触发 - CI漏触发补跑 + default: "手动触发 - CI漏触发补跑" permissions: contents: read pull-requests: read