mirror of
https://github.com/neovim/neovim.git
synced 2025-12-24 23:29:00 +00:00
17 lines
464 B
YAML
17 lines
464 B
YAML
name: "Commit Linter"
|
|
on: pull_request
|
|
jobs:
|
|
lint-commits:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- uses: actions/checkout@v2.3.1
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: rhysd/action-setup-vim@v1
|
|
with:
|
|
neovim: true
|
|
- run: gh pr checkout ${{ github.event.pull_request.number }}
|
|
- run: nvim --clean -es +"lua require('scripts.lintcommit').main({trace=true})"
|