Skip to content

Commit d5729aa

Browse files
committed
fix: ci
1 parent 4dd4599 commit d5729aa

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/panvimdoc.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ on: [push]
55
jobs:
66
docs:
77
runs-on: ubuntu-latest
8-
name: pandoc to vimdoc
8+
if: ${{ github.ref == 'refs/heads/main' }}
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
- name: panvimdoc
1212
uses: kdheepak/panvimdoc@main
1313
with:
1414
vimdoc: open-github-url.nvim
1515
treesitter: true
16-
- uses: stefanzweifel/git-auto-commit-action@v4
16+
- name: Push changes
17+
uses: stefanzweifel/git-auto-commit-action@v4
1718
with:
18-
commit_message: "Auto generate docs"
19-
branch: ${{ github.head_ref }}
19+
commit_message: "chore(build): auto-generate vimdoc"
20+
commit_user_name: "github-actions[bot]"
21+
commit_user_email: "github-actions[bot]@users.noreply.github.com"
22+
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"

0 commit comments

Comments
 (0)