Merge pull request #16084 from dundargoc/ci/commitlint/checkout-branch-directly

ci(commitlint): use action to checkout to pr branch directly
This commit is contained in:
James McCoy 2021-10-19 07:30:09 -04:00 committed by GitHub
commit 4219cfcb90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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})"