ci: update panvimdoc_plugins.yml
#289
This file contains hidden or 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: Run vim-eof-comment | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| branches: | |
| - main | |
| jobs: | |
| vim_eof_comment: | |
| name: vim-eof-comment | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6.1.0 | |
| with: | |
| python-version: '3.14' | |
| - name: Install vim-eof-comment | |
| run: | | |
| python -m pip install -U pip | |
| pip install -U vim-eof-comment | |
| - name: Run vim-eof-comment | |
| run: | | |
| vim-eof-comment -e lua,Makefile,yaml,toml -i lua:2:Y -v . | |
| vim-eof-comment -e md -nv . | |
| - name: Auto Commit Changes | |
| uses: stefanzweifel/git-auto-commit-action@v7.1.0 | |
| with: | |
| commit_message: "chore: format files with `vim-eof-comment`" | |
| commit_options: "--signoff" | |
| branch: ${{ github.head_ref }} |