Merge remote-tracking branch 'origin/claude/d1-docs-system-fd4a0f' into claude/i1-layout-docs-merge-217f1e
# Conflicts: # docs/ci-cd/template-vs-consumer.md # src/platforms/grpc/CLAUDE.md
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
name: docs-check
|
||||
|
||||
# Document language, record head blocks, references and copied numbers (scripts/check-docs.py).
|
||||
# It runs on every pull request, not on a docs/** path filter: deleting a file or a Gradle project
|
||||
# in code is exactly what makes a living document point at nothing, and that change touches no
|
||||
# document. The checker is plain Python outside Gradle, because the build does not parse documents.
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: ["main"]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
|
||||
- name: Test the document checker
|
||||
run: python3 -m unittest discover -s scripts/tests
|
||||
- name: Check documents
|
||||
run: python3 scripts/check-docs.py
|
||||
Reference in New Issue
Block a user