# A GitHub Actions workflow that generates the documentation for pull requests name: tsdoc-markdown on: push: jobs: docs: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Prepare uses: ./.github/actions/prepare - name: Generate docs run: npm run docs - name: Commit docs uses: EndBug/add-and-commit@v9 # We don't want to commit documentation changes to main if: ${{ github.ref != 'refs/heads/main' }} with: add: . default_author: github_actions message: '🤖 Documentation auto-update'