diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0a3e2b4..d55f2dd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,7 +2,9 @@ # # 触发条件: # - pull_request(opened, synchronize) -# - 仅代码改动触发,纯文档改动跳过(paths-ignore) +# - 所有 PR 均触发 CI,确保 status check 始终产出 +# (移除 paths-ignore:与分支保护 enable_status_check 冲突, +# 纯文档 PR 无 CI status 导致无法合并) # # 注意:只保留 pull_request 触发,避免 push + pull_request 双倍触发 # @@ -17,12 +19,6 @@ name: CI on: pull_request: types: [opened, synchronize] - paths-ignore: - - 'docs/**' - - 'mockups/**' - - 'prompt_templates/**' - - '*.md' - - 'README.md' jobs: # ── Job 1: Lint ──────────────────────────────────────