ci: prevent unnecessary panvimdoc runs
parent
6c3a123dcd
commit
fe50fe3844
|
|
@ -1,22 +1,26 @@
|
||||||
name: panvimdoc
|
name: Auto-generate vimdocs
|
||||||
|
|
||||||
# yamllint disable rule:truthy
|
on:
|
||||||
on: [push]
|
push:
|
||||||
|
branches: [main]
|
||||||
|
paths: [README.md]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: pandoc to vimdoc
|
name: README.md to vimdoc
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: panvimdoc
|
- uses: kdheepak/panvimdoc@main
|
||||||
uses: kdheepak/panvimdoc@main
|
|
||||||
with:
|
with:
|
||||||
vimdoc: genghis
|
vimdoc: genghis
|
||||||
demojify: true
|
|
||||||
toc: true
|
toc: true
|
||||||
treesitter: true
|
treesitter: true
|
||||||
|
demojify: true
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: "chore: Auto generate docs"
|
commit_message: "chore: Auto-generate vimdocs"
|
||||||
branch: ${{ github.head_ref }}
|
branch: ${{ github.head_ref }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue