Skip to content

Commit deaaf0c

Browse files
committed
refactor: create a pr instead of committing generated doc
1 parent 3393c28 commit deaaf0c

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@ jobs:
88
docs:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
12+
1213
- name: panvimdoc
1314
uses: kdheepak/panvimdoc@main
1415
with:
15-
vimdoc: my-template-docs
16-
version: "Neovim >= 0.8.0"
16+
vimdoc: "nvim-java-core"
17+
dedupsubheadings: false
18+
version: "Neovim >= 0.9.4"
1719
demojify: true
18-
treesitter: true
19-
- name: Push changes
20-
uses: stefanzweifel/git-auto-commit-action@v4
20+
21+
- name: Create Pull Request
22+
uses: peter-evans/create-pull-request@v5
2123
with:
22-
commit_message: "auto-generate vimdoc"
23-
commit_user_name: "github-actions[bot]"
24-
commit_user_email: "github-actions[bot]@users.noreply.github.com"
25-
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
24+
base: "main"

0 commit comments

Comments
 (0)