aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2021-10-19 09:54:48 +0200
committerDundar Göc <gocdundar@gmail.com>2021-10-19 09:58:30 +0200
commit9039aa24b6386407b3cdbbf61052f49a8d1e8cbe (patch)
treeb6c45e4347162f509a11e944bf238c55fd8d3655
parent9086938f7bd6d6ccb7f4a30fb78aeaf0d84e4471 (diff)
downloadrneovim-9039aa24b6386407b3cdbbf61052f49a8d1e8cbe.tar.gz
rneovim-9039aa24b6386407b3cdbbf61052f49a8d1e8cbe.tar.bz2
rneovim-9039aa24b6386407b3cdbbf61052f49a8d1e8cbe.zip
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})"