chore(gh): Only trigger for markdown files

This commit is contained in:
hedy
2023-11-30 19:10:47 +08:00
parent 5d5f891afb
commit c63d6ebb2b

View File

@@ -1,6 +1,9 @@
name: panvimdoc name: panvimdoc
on: [push] on:
push:
paths:
- '**.md'
jobs: jobs:
docs: docs:
@@ -15,7 +18,7 @@ jobs:
version: "NVIM v0.7.0" version: "NVIM v0.7.0"
- uses: stefanzweifel/git-auto-commit-action@v4 - uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: "Auto generate vim docs" commit_message: "chore(vimdoc): Auto update"
branch: ${{ github.head_ref }} branch: ${{ github.head_ref }}
# Don't commit if no changes are needed # Don't commit if no changes are needed
skip_dirty_check: false skip_dirty_check: false