ci: rename workflow files to be simpler and more consistent (#21253)

This commit is contained in:
dundargoc
2022-12-01 10:55:34 +01:00
committed by GitHub
parent 1390e97c20
commit adda751407
5 changed files with 0 additions and 0 deletions

23
.github/workflows/lintcommit.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: "Commit Linter"
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- 'master'
jobs:
lint-commits:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
path: pr_nvim
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
- run: wget https://raw.githubusercontent.com/neovim/neovim/master/scripts/lintcommit.lua
- run: nvim --clean -es +"cd pr_nvim" +"lua dofile('../lintcommit.lua').main({trace=true})"