ci: split docs-only push checks · openclaw/openclaw@5deef28
steipete
·
2026-04-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,6 +3,9 @@ name: CI
|
3 | 3 | on: |
4 | 4 | push: |
5 | 5 | branches: [main] |
| 6 | +paths-ignore: |
| 7 | + - "**/*.md" |
| 8 | + - "docs/**" |
6 | 9 | pull_request: |
7 | 10 | types: [opened, reopened, synchronize, ready_for_review, converted_to_draft] |
8 | 11 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: Docs |
| 2 | + |
| 3 | +on: |
| 4 | +push: |
| 5 | +branches: [main] |
| 6 | +paths: |
| 7 | + - "**/*.md" |
| 8 | + - "docs/**" |
| 9 | + |
| 10 | +permissions: |
| 11 | +contents: read |
| 12 | + |
| 13 | +concurrency: |
| 14 | +group: ${{ format('{0}-{1}', github.workflow, github.ref) }} |
| 15 | +cancel-in-progress: true |
| 16 | + |
| 17 | +env: |
| 18 | +FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" |
| 19 | + |
| 20 | +jobs: |
| 21 | +docs: |
| 22 | +runs-on: ubuntu-24.04 |
| 23 | +timeout-minutes: 20 |
| 24 | +steps: |
| 25 | + - name: Checkout |
| 26 | +uses: actions/checkout@v6 |
| 27 | +with: |
| 28 | +fetch-depth: 1 |
| 29 | +fetch-tags: false |
| 30 | +persist-credentials: false |
| 31 | +submodules: false |
| 32 | + |
| 33 | + - name: Setup Node environment |
| 34 | +uses: ./.github/actions/setup-node-env |
| 35 | +with: |
| 36 | +install-bun: "false" |
| 37 | + |
| 38 | + - name: Check docs |
| 39 | +run: pnpm check:docs |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。