-
-
Notifications
You must be signed in to change notification settings - Fork 29
37 lines (37 loc) · 988 Bytes
/
Copy pathvim-eof-comment.yml
File metadata and controls
37 lines (37 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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.0.2
- name: Set up Python
uses: actions/setup-python@v6.2.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,yml,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 }}