Skip to content

Commit 9d780a2

Browse files
authored
feat: automate docs generation.
1 parent a50d7ff commit 9d780a2

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/docs.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,15 @@ jobs:
2626
run: |
2727
pydoc-markdown pydoc-markdown.yml
2828
29-
- name: Commit generated docs if changed
30-
uses: stefanzweifel/git-auto-commit-action@v4
29+
- name: Create Pull Request if docs changed
30+
uses: peter-evans/create-pull-request@v7
3131
with:
32-
commit_message: "chore(docs): regenerate API docs"
33-
file_pattern: "docs/**/*.md"
34-
branch: development
35-
push: true
32+
branch: docs/regenerate-api-docs
33+
commit-message: chore(docs): regenerate API docs
34+
title: chore(docs): regenerate API docs
35+
body: |
36+
This PR was automatically generated by the workflow to regenerate the API documentation.
37+
add-paths: |
38+
docs/api-reference/python/**
39+
delete-branch: true
40+

0 commit comments

Comments
 (0)