diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7723335..5880397 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,13 +5,19 @@ on: [push] jobs: docs: runs-on: ubuntu-latest - name: pandoc to vimdoc + if: ${{ github.ref == 'refs/heads/main' }} steps: - - uses: actions/checkout@v2 - - uses: kdheepak/panvimdoc@main + - uses: actions/checkout@v3 + - name: panvimdoc + uses: kdheepak/panvimdoc@main with: vimdoc: spellwarn - - uses: stefanzweifel/git-auto-commit-action@v4 + demojify: true + treesitter: true + - name: Push changes + uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: "Auto generate docs" - branch: ${{ github.head_ref }} + commit_message: "chore(build): auto-generate vimdoc" + commit_user_name: "github-actions[bot]" + commit_user_email: "github-actions[bot]@users.noreply.github.com" + commit_author: "github-actions[bot] "