ci(commitlint): use action to checkout to pr branch directly

This commit is contained in:
Dundar Göc
2021-10-19 09:54:48 +02:00
parent 9086938f7b
commit 9039aa24b6

View File

@@ -12,8 +12,8 @@ jobs:
- uses: actions/checkout@v2.3.1
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- 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})"