# # Validates Pull requests targeting the wiki branch # to ensure that the site can be build successfully # without broken links, navigation, etc. # name: "Validate Wiki Build" on: pull_request: types: - opened - reopened - synchronize paths-ignore: - "README.md" branches: - wiki workflow_dispatch: permissions: contents: read env: RUN_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}" jobs: buildWiki: runs-on: ubuntu-latest steps: - name: "Checkout Repository" uses: actions/checkout@v6 with: fetch-depth: 0 ref: "${{ github.event.pull_request.head.sha }}" persist-credentials: false - name: "Setup Python 3.x" uses: actions/setup-python@v6 with: python-version: 3.x - name: "Install dependencies" run: "python -m pip install mkdocs-material" - name: "Build Site" run: "mkdocs build --strict"