Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
ci: add Zola docs validation to PR checks (#1396)
Maximilian Roos8fb835cd80ee
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yamlindex f90fd7b50..fbdc9f7c6 100644--- a/.github/workflows/ci.yaml+++ b/.github/workflows/ci.yaml@@ -151,6 +151,7 @@ jobs:pull-requests: readoutputs:cargo: ${{ steps.filter.outputs.cargo }}+ docs: ${{ steps.filter.outputs.docs }}steps:- name: π Checkout codeuses: actions/checkout@v6@@ -163,6 +164,9 @@ jobs:- 'Cargo.lock'- 'rust-toolchain.toml'- '.github/workflows/ci.yaml'+ docs:+ - 'docs/**'+ - 'src/cli/mod.rs'msrv:runs-on: ubuntu-24.04@@ -207,6 +211,23 @@ jobs:command: udepsargs: --all-targets+ check-docs:+ runs-on: ubuntu-24.04+ needs: changes+ if: needs.changes.outputs.docs == 'true' || github.event_name == 'workflow_dispatch'+ steps:+ - name: π Checkout code+ uses: actions/checkout@v6++ - name: Setup Zola+ uses: taiki-e/[email protected]+ with:+ tool: [email protected]++ - name: π·οΈ Build docs+ run: zola build+ working-directory: docs+benchmarks:runs-on: ubuntu-24.04needs: changesdiff --git a/.github/workflows/claude-ci-fix.yaml b/.github/workflows/claude-ci-fix.yamlindex 70d7e6f1b..2d41a74a5 100644--- a/.github/workflows/claude-ci-fix.yaml+++ b/.github/workflows/claude-ci-fix.yaml@@ -1,10 +1,10 @@name: claude-ci-fix# Runner versions pinned; see ci.yaml header comment for rationale.-# Trigger when CI workflow fails on main+# Trigger when CI or docs workflow fails on mainon:workflow_run:- workflows: [ci]+ workflows: [ci, publish-docs]types: [completed]branches: [main]diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yamlindex 1ee75c15a..07e102772 100644--- a/.github/workflows/publish-docs.yaml+++ b/.github/workflows/publish-docs.yaml@@ -7,6 +7,7 @@ on:- mainpaths:- 'docs/**'+ - 'src/cli/mod.rs'workflow_dispatch:concurrency: