Skip to content

Commit 94fb10c

Browse files
committed
fix(ci): generate vimdoc on main branch
fix(ci): skip git hook on vimdoc
1 parent 693b15f commit 94fb10c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ jobs:
1616

1717
docs:
1818
runs-on: ubuntu-latest
19+
permissions:
20+
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
21+
contents: write
1922
name: pandoc to vimdoc
2023
if: ${{ github.ref == 'refs/heads/main' }}
2124
steps:
2225
- uses: actions/checkout@v4
26+
with:
27+
token: ${{ secrets.GITHUB_TOKEN }}
2328
- name: panvimdoc
2429
uses: kdheepak/panvimdoc@main
2530
with:
@@ -31,6 +36,7 @@ jobs:
3136
commit_user_name: "github-actions[bot]"
3237
commit_user_email: "github-actions[bot]@users.noreply.github.com"
3338
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
39+
commit_options: "--no-verify"
3440

3541
test:
3642
name: Run Test

0 commit comments

Comments
 (0)