aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-10-19 07:30:09 -0400
committerGitHub <noreply@github.com>2021-10-19 07:30:09 -0400
commit4219cfcb90fcb7ba919d1d631ee2938dc056f50e (patch)
treeb6c45e4347162f509a11e944bf238c55fd8d3655
parent9086938f7bd6d6ccb7f4a30fb78aeaf0d84e4471 (diff)
parent9039aa24b6386407b3cdbbf61052f49a8d1e8cbe (diff)
downloadrneovim-4219cfcb90fcb7ba919d1d631ee2938dc056f50e.tar.gz
rneovim-4219cfcb90fcb7ba919d1d631ee2938dc056f50e.tar.bz2
rneovim-4219cfcb90fcb7ba919d1d631ee2938dc056f50e.zip
Merge pull request #16084 from dundargoc/ci/commitlint/checkout-branch-directly
ci(commitlint): use action to checkout to pr branch directly
-rw-r--r--.github/workflows/commitlint.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml
index 09df580b45..559d8eae83 100644
--- a/.github/workflows/commitlint.yml
+++ b/.github/workflows/commitlint.yml
@@ -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})"