ci: fix readme auto-update #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto-generate vimdocs | |
on: | |
push: | |
branches: [main] | |
paths: | |
- README.md # source file | |
- .github/workflows/panvimdoc.yml # updates to this file itself | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
name: README.md to vimdoc | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: kdheepak/panvimdoc@main | |
with: | |
vimdoc: rulebook | |
demojify: true | |
treesitter: true | |
description: " Auto-generated from README.md. Do not make PRs to this file." | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: auto-generate vimdocs" | |
branch: ${{ github.head_ref }} |