ci: 让 main 的必需检查始终上报
This commit is contained in:
1 parent
669d4a7de6
commit
a08a2f0f98
2 files changed
+37
-1
No files matched your search
@@ -3,7 +3,13 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
# 纯文档提交不消耗 2 核 runner;需要状态时用 workflow_dispatch 手动触发。
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
# PR 不设置 paths-ignore:branch protection 的 required checks 必须始终上报,
|
||||
# 否则纯文档 PR 会永远等不到状态检查而无法合并。
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.ref }}
|
||||
|
||||
Reference in new issue
Block a user