From 9d780a2d1d2397ecc04350a8681b82a206bf2af2 Mon Sep 17 00:00:00 2001 From: ikxplain <88332269+ikxplain@users.noreply.github.com> Date: Tue, 28 Oct 2025 16:33:01 +0100 Subject: [PATCH] feat: automate docs generation. --- .github/workflows/docs.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 45921cfe..13c47fbc 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -26,10 +26,15 @@ jobs: run: | pydoc-markdown pydoc-markdown.yml - - name: Commit generated docs if changed - uses: stefanzweifel/git-auto-commit-action@v4 + - name: Create Pull Request if docs changed + uses: peter-evans/create-pull-request@v7 with: - commit_message: "chore(docs): regenerate API docs" - file_pattern: "docs/**/*.md" - branch: development - push: true + branch: docs/regenerate-api-docs + commit-message: chore(docs): regenerate API docs + title: chore(docs): regenerate API docs + body: | + This PR was automatically generated by the workflow to regenerate the API documentation. + add-paths: | + docs/api-reference/python/** + delete-branch: true +