Check DITA on every pull request

Add the MANIFEST action to a repository, so a pull request that breaks a key, a conref, a link or an image fails with the file, the line and the fix.

  1. Create .github/workflows/dita.yml in the repository that holds your DITA.
  2. Add a job that checks out the repository and runs the action on your root map:
    on: pull_request
    jobs:
      dita:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: siddharthraop/Manifest/action@main
            with:
              map: docs/product.ditamap
  3. Open a pull request.

    Each problem is annotated on the changed file and line, with the fix.