mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
Build and Test deliberately skips the smoke suite for Markdown-only changes, leaving Public docs able to accept unsafe but correctly mirrored guidance. Run the existing backup, passive diagnostic and copied-reader suites in the lightweight docs check, and retain strict failure propagation and source triggers without installing application dependencies. Contract-Neutral: Wire existing safety recipe checks into docs-only CI without changing product, workflow trust or documentation contracts. Change-source: pulse-maintainer
83 lines
2.8 KiB
YAML
83 lines
2.8 KiB
YAML
name: Public docs
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "*.md"
|
|
- "docs/**"
|
|
- "frontend-modern/public/docs/**"
|
|
- ".github/ISSUE_TEMPLATE/**"
|
|
- "scripts/check_public_docs.py"
|
|
- "scripts/check_docs_mirror.py"
|
|
- "scripts/readme_entrypoints_test.py"
|
|
- "scripts/tests/run.sh"
|
|
- "scripts/tests/test_public_docs_workflow.py"
|
|
- "scripts/tests/test_pve_backup_troubleshooting_docs.py"
|
|
- "scripts/tests/test_vm_disk_diagnostics.py"
|
|
- "scripts/tests/test_memory_troubleshooting_docs.py"
|
|
- "scripts/tests/test_performance_troubleshooting_docs.py"
|
|
- "scripts/tests/test_troubleshooting_logs.py"
|
|
- "scripts/test-vm-disk.sh"
|
|
- ".github/workflows/public-docs.yml"
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "*.md"
|
|
- "docs/**"
|
|
- "frontend-modern/public/docs/**"
|
|
- ".github/ISSUE_TEMPLATE/**"
|
|
- "scripts/check_public_docs.py"
|
|
- "scripts/check_docs_mirror.py"
|
|
- "scripts/readme_entrypoints_test.py"
|
|
- "scripts/tests/run.sh"
|
|
- "scripts/tests/test_public_docs_workflow.py"
|
|
- "scripts/tests/test_pve_backup_troubleshooting_docs.py"
|
|
- "scripts/tests/test_vm_disk_diagnostics.py"
|
|
- "scripts/tests/test_memory_troubleshooting_docs.py"
|
|
- "scripts/tests/test_performance_troubleshooting_docs.py"
|
|
- "scripts/tests/test_troubleshooting_logs.py"
|
|
- "scripts/test-vm-disk.sh"
|
|
- ".github/workflows/public-docs.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: public-docs-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Validate public documentation
|
|
run: python3 scripts/check_public_docs.py
|
|
|
|
- name: Check getting-started safety and current plans
|
|
run: python3 scripts/readme_entrypoints_test.py
|
|
|
|
- name: Check shipped docs mirror sync
|
|
run: python3 scripts/check_docs_mirror.py
|
|
|
|
- name: Check documentation safety workflow contract
|
|
run: python3 scripts/tests/test_public_docs_workflow.py
|
|
|
|
# Build and Test intentionally skips its smoke suite for docs-only
|
|
# changes. Exercise the existing safety guidance and copied recipes here
|
|
# too, without installing frontend/Go dependencies or calling providers.
|
|
- name: Exercise backup safety and diagnostic recipes
|
|
run: |
|
|
scripts/tests/run.sh \
|
|
test_pve_backup_troubleshooting_docs.py \
|
|
test_vm_disk_diagnostics.py \
|
|
test_memory_troubleshooting_docs.py \
|
|
test_performance_troubleshooting_docs.py \
|
|
test_troubleshooting_logs.py
|